[vlc-devel] commit: Qt: put visualisation before audio-tracks to mimic Mac menus. ( Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Feb 7 23:28:36 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 7 23:14:30 2009 +0100| [e81539dd6593741a4657748a4c99acd7bb1b4500] | committer: Jean-Baptiste Kempf
Qt: put visualisation before audio-tracks to mimic Mac menus.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e81539dd6593741a4657748a4c99acd7bb1b4500
---
modules/gui/qt4/menus.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 8a3bd6a..82e11eb 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -239,10 +239,10 @@ static int AudioAutoMenuBuilder( aout_instance_t *p_object,
vector<vlc_object_t *> &objects,
vector<const char *> &varnames )
{
+ PUSH_VAR( "visual" );
PUSH_INPUTVAR( "audio-es" );
PUSH_VAR( "audio-device" );
PUSH_VAR( "audio-channels" );
- PUSH_VAR( "visual" );
return VLC_SUCCESS;
}
@@ -493,11 +493,11 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
if( current->isEmpty() )
{
+ ACT_ADD( current, "visual", qtr( "&Visualizations" ) );
+ current->addSeparator();
ACT_ADD( current, "audio-es", qtr( "Audio &Track" ) );
ACT_ADD( current, "audio-device", qtr( "Audio &Device" ) );
ACT_ADD( current, "audio-channels", qtr( "Audio &Channels" ) );
- current->addSeparator();
- ACT_ADD( current, "visual", qtr( "&Visualizations" ) );
}
p_input = THEMIM->getInput();
More information about the vlc-devel
mailing list