[vlc-devel] commit: Qt: change audio menus with mute at the bottom until we decide something with felix . (Jean-Baptiste Kempf )
git version control
git at videolan.org
Mon Feb 9 21:14:52 CET 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Feb 9 21:14:00 2009 +0100| [bce60302b167d5ed37b0e1f707a5c6f1cfb2e2ea] | committer: Jean-Baptiste Kempf
Qt: change audio menus with mute at the bottom until we decide something with felix.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bce60302b167d5ed37b0e1f707a5c6f1cfb2e2ea
---
modules/gui/qt4/menus.cpp | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index adf625b..4ffafe0 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -496,6 +496,14 @@ 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();
+
QAction *action = current->addAction( qtr( "Mute Audio" ),
ActionsManager::getInstance( p_intf ), SLOT( toggleMuteAudio() ) );
action->setData( true );
@@ -505,13 +513,6 @@ QMenu *QVLCMenu::AudioMenu( intf_thread_t *p_intf, QMenu * current )
action = current->addAction( qtr( "Decrease Volume" ),
ActionsManager::getInstance( p_intf ), SLOT( AudioDown() ) );
action->setData( true );
-
- current->addSeparator();
- 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" ) );
}
p_input = THEMIM->getInput();
More information about the vlc-devel
mailing list