Commit 761772b9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix indentation

(cherry picked from commit 59984e4f)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2bfd6a8d
...@@ -564,17 +564,17 @@ void VLCMenuBar::ExtensionsMenu( intf_thread_t *p_intf, QMenu *extMenu ) ...@@ -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 ) 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() ) ); ActionsManager::getInstance( p_intf ), SLOT( AudioUp() ) );
action->setData( VLCMenuBar::ACTION_STATIC ); action->setData( VLCMenuBar::ACTION_STATIC );
action = current->addAction( qtr( "Decrease Volume" ), action = current->addAction( qtr( "Decrease Volume" ),
ActionsManager::getInstance( p_intf ), SLOT( AudioDown() ) ); ActionsManager::getInstance( p_intf ), SLOT( AudioDown() ) );
action->setData( VLCMenuBar::ACTION_STATIC ); action->setData( VLCMenuBar::ACTION_STATIC );
action = current->addAction( qtr( "Mute" ), action = current->addAction( qtr( "Mute" ),
ActionsManager::getInstance( p_intf ), SLOT( toggleMuteAudio() ) ); 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, ...@@ -870,9 +870,8 @@ void VLCMenuBar::PopupMenuPlaylistControlEntries( QMenu *menu,
{ {
bool bEnable = THEMIM->getInput() != NULL; bool bEnable = THEMIM->getInput() != NULL;
bool bPlaylistEmpty = THEMIM->hasEmptyPlaylist(); bool bPlaylistEmpty = THEMIM->hasEmptyPlaylist();
QAction *action = QAction *action = addMIMStaticEntry( p_intf, menu, qtr( "&Stop" ),
addMIMStaticEntry( p_intf, menu, qtr( "&Stop" ), ":/menu/stop", ":/menu/stop", SLOT( stop() ), true );
SLOT( stop() ), true );
/* Disable Stop in the right-click popup menu */ /* Disable Stop in the right-click popup menu */
if( !bEnable ) if( !bEnable )
action->setEnabled( false ); action->setEnabled( false );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment