Qt: change audio menus with mute at the bottom until we decide something with felix.
authorJean-Baptiste Kempf <jb@videolan.org>
Mon, 9 Feb 2009 20:14:00 +0000 (21:14 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Mon, 9 Feb 2009 20:14:00 +0000 (21:14 +0100)
modules/gui/qt4/menus.cpp

index adf625b..4ffafe0 100644 (file)
@@ -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();