[vlc-devel] commit: Qt: always provide an option to preferences in skins. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Sat Feb 7 21:02:06 CET 2009


vlc | branch: 0.9-bugfix | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb  7 21:01:26 2009 +0100| [caafdff10c9120e68b3cf4a00fab9ccc58bc8295] | committer: Jean-Baptiste Kempf 

Qt: always provide an option to preferences in skins.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=caafdff10c9120e68b3cf4a00fab9ccc58bc8295
---

 modules/gui/qt4/menus.cpp |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index cb1a988..5fc6f08 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -846,6 +846,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
             }
             addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "",
                 ":/settings", SLOT( extendedDialog() ) );
+            addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "",
+                ":/settings", SLOT( extendedDialog() ) );
             if( mi )
             {
                 action = submenu->addAction( QIcon( "" ),
@@ -862,6 +864,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
             else /* We are using the skins interface.
                     If not, this entry will not show. */
             {
+                addDPStaticEntry( submenu, qtr( "&Preferences..." ),
+                    ":/preferences", SLOT( prefsDialog() ), "Ctrl+P" );
                 objects.clear();
                 varnames.clear();
                 vlc_object_t *p_object = ( vlc_object_t* )




More information about the vlc-devel mailing list