Commit ff995de9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: remove unneeded workaround

parent 1d3c64eb
...@@ -1177,13 +1177,11 @@ void MainInterface::closeEvent( QCloseEvent *e ) ...@@ -1177,13 +1177,11 @@ void MainInterface::closeEvent( QCloseEvent *e )
THEDP->quit(); THEDP->quit();
} }
void MainInterface::toggleFullScreen( void ) void MainInterface::toggleFullScreen()
{ {
if( isFullScreen() ) if( isFullScreen() )
{ {
showNormal(); showNormal();
emit askUpdate(); // Needed if video was launched after the F11
//FIXMe
emit fullscreenInterfaceToggled( false ); emit fullscreenInterfaceToggled( false );
} }
else else
...@@ -1191,7 +1189,6 @@ void MainInterface::toggleFullScreen( void ) ...@@ -1191,7 +1189,6 @@ void MainInterface::toggleFullScreen( void )
showFullScreen(); showFullScreen();
emit fullscreenInterfaceToggled( true ); emit fullscreenInterfaceToggled( true );
} }
} }
/***************************************************************************** /*****************************************************************************
......
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