{
showNormal();
emit askUpdate(); // Needed if video was launched after the F11
+ QVLCMenu::fullscreenViewAction->setChecked( false );
}
else
+ {
showFullScreen();
+ QVLCMenu::fullscreenViewAction->setChecked( true );
+ }
+
}
/*****************************************************************************
/* HACK for minimalView to go around a Qt bug/feature
* that doesn't update the QAction checked state when QMenu is hidden */
QAction *QVLCMenu::minimalViewAction = NULL;
+QAction *QVLCMenu::fullscreenViewAction = NULL;
QMenu *QVLCMenu::recentsMenu = NULL;
/* FullScreen View */
action = menu->addAction( qtr( "&Fullscreen Interface" ), mi,
SLOT( toggleFullScreen() ), QString( "F11" ) );
+ fullscreenViewAction = action;
action->setCheckable( true );
action->setData( true );