[vlc-commits] Qt: fix indentation

Jean-Baptiste Kempf git at videolan.org
Sat Jan 14 07:22:08 CET 2012


vlc/vlc-1.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Jan 14 07:04:25 2012 +0100| [761772b98070260c7091ec5afc788e6a62f47cc8] | committer: Jean-Baptiste Kempf

Qt: fix indentation
(cherry picked from commit 59984e4f18524d8c6d3e82c292bfdde9d9c27092)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.2.git/?a=commit;h=761772b98070260c7091ec5afc788e6a62f47cc8
---

 modules/gui/qt4/menus.cpp |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index bd668af..85d302f 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -564,17 +564,17 @@ void VLCMenuBar::ExtensionsMenu( intf_thread_t *p_intf, QMenu *extMenu )
 
 static inline void VolumeEntries( intf_thread_t *p_intf, QMenu *current )
 {
-        current->addSeparator();
+    current->addSeparator();
 
-        QAction *action = current->addAction( qtr( "Increase Volume" ),
+    QAction *action = current->addAction( qtr( "Increase Volume" ),
                 ActionsManager::getInstance( p_intf ), SLOT( AudioUp() ) );
-        action->setData( VLCMenuBar::ACTION_STATIC );
-        action = current->addAction( qtr( "Decrease Volume" ),
+    action->setData( VLCMenuBar::ACTION_STATIC );
+    action = current->addAction( qtr( "Decrease Volume" ),
                 ActionsManager::getInstance( p_intf ), SLOT( AudioDown() ) );
-        action->setData( VLCMenuBar::ACTION_STATIC );
-        action = current->addAction( qtr( "Mute" ),
+    action->setData( VLCMenuBar::ACTION_STATIC );
+    action = current->addAction( qtr( "Mute" ),
                 ActionsManager::getInstance( p_intf ), SLOT( toggleMuteAudio() ) );
-        action->setData( VLCMenuBar::ACTION_STATIC );
+    action->setData( VLCMenuBar::ACTION_STATIC );
 }
 
 /**
@@ -870,9 +870,8 @@ void VLCMenuBar::PopupMenuPlaylistControlEntries( QMenu *menu,
 {
     bool bEnable = THEMIM->getInput() != NULL;
     bool bPlaylistEmpty = THEMIM->hasEmptyPlaylist();
-    QAction *action =
-            addMIMStaticEntry( p_intf, menu, qtr( "&Stop" ), ":/menu/stop",
-                               SLOT( stop() ), true );
+    QAction *action = addMIMStaticEntry( p_intf, menu, qtr( "&Stop" ),
+                                         ":/menu/stop", SLOT( stop() ), true );
     /* Disable Stop in the right-click popup menu */
     if( !bEnable )
         action->setEnabled( false );



More information about the vlc-commits mailing list