[vlc-devel] commit: Small change in menus order (Jean-Baptiste Kempf )

git version control git at videolan.org
Tue Jun 17 05:36:13 CEST 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jun 16 20:37:57 2008 -0700| [8674567614a2b6a7d0391662527323cfc57670a2]

Small change in menus order

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

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

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index d5d3545..5acead3 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -197,8 +197,8 @@ static int AudioAutoMenuBuilder( vlc_object_t *p_object,
     PUSH_INPUTVAR( "audio-es" );
     PUSH_VAR( "audio-device" );
     PUSH_VAR( "audio-channels" );
-    PUSH_VAR( "visual" );
     PUSH_VAR( "equalizer" );
+    PUSH_VAR( "visual" );
     return VLC_SUCCESS;
 }
 
@@ -435,8 +435,9 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
         ACT_ADD( current, "audio-es", qtr( "Audio &Track" ) );
         ACT_ADD( current, "audio-device", qtr( "Audio &Device" ) );
         ACT_ADD( current, "audio-channels", qtr( "Audio &Channels" ) );
-        ACT_ADD( current, "visual", qtr( "&Visualizations" ) );
         ACT_ADD( current, "equalizer", qtr( "&Equalizer" ) );
+        current->addSeparator();
+        ACT_ADD( current, "visual", qtr( "&Visualizations" ) );
     }
 
     p_input = THEMIM->getInput();
@@ -479,6 +480,7 @@ QMenu *QVLCMenu::VideoMenu( intf_thread_t *p_intf, QMenu *current )
         action->setData( "spu-es" );
         addDPStaticEntry( submenu, qtr( "Load File..." ), "", "",
                           SLOT( loadSubtitlesFile() ) );
+        submenu->addSeparator();
 
         ACT_ADD( current, "fullscreen", qtr( "Toggle &Fullscreen" ) );
         ACT_ADD( current, "zoom", qtr( "&Zoom" ) );




More information about the vlc-devel mailing list