Commit caafdff1 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: always provide an option to preferences in skins.

parent ce669714
...@@ -844,6 +844,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -844,6 +844,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
submenu->addAction( QIcon( ":/playlist" ), submenu->addAction( QIcon( ":/playlist" ),
qtr( "Show Playlist" ), mi, SLOT( togglePlaylist() ) ); qtr( "Show Playlist" ), mi, SLOT( togglePlaylist() ) );
} }
addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "",
":/settings", SLOT( extendedDialog() ) );
addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "", addDPStaticEntry( submenu, qtr( I_MENU_EXT ), "",
":/settings", SLOT( extendedDialog() ) ); ":/settings", SLOT( extendedDialog() ) );
if( mi ) if( mi )
...@@ -862,6 +864,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -862,6 +864,8 @@ void QVLCMenu::PopupMenu( intf_thread_t *p_intf, bool show )
else /* We are using the skins interface. else /* We are using the skins interface.
If not, this entry will not show. */ If not, this entry will not show. */
{ {
addDPStaticEntry( submenu, qtr( "&Preferences..." ),
":/preferences", SLOT( prefsDialog() ), "Ctrl+P" );
objects.clear(); objects.clear();
varnames.clear(); varnames.clear();
vlc_object_t *p_object = ( vlc_object_t* ) vlc_object_t *p_object = ( vlc_object_t* )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment