void MainInterface::toggleMinimalView()
{
- /* HACK for minimalView, see menus.cpp */
- if( !menuBar()->isVisible() ) QVLCMenu::minimalViewAction->toggle();
-
if( i_visualmode != QT_ALWAYS_VIDEO_MODE &&
i_visualmode != QT_MINIMAL_MODE )
{ /* NORMAL MODE then */
TOGGLEV( statusBar() );
TOGGLEV( inputC );
doComponentsUpdate();
+
+ QVLCMenu::minimalViewAction->setChecked( bgWasVisible );
}
/* Video widget cannot do this synchronously as it runs in another thread */
action->setChecked( !( mi->getControlsVisibilityStatus() &
CONTROLS_VISIBLE ) );
action = submenu->addAction( QIcon( "" ),
- qtr( "Toggle Fullscreen Interface" ),
+ qtr( "Fullscreen Interface" ),
mi, SLOT( toggleFullScreen() ) );
action->setCheckable( true );
action->setChecked( mi->isFullScreen() );