Commit 3f02af55 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf Committed by Laurent Aimar

Qt: try to fix hangout on win32

Signed-off-by: default avatarLaurent Aimar <fenrir@videolan.org>
parent 2a1f2f0b
...@@ -1144,9 +1144,9 @@ void MainInterface::closeEvent( QCloseEvent *e ) ...@@ -1144,9 +1144,9 @@ void MainInterface::closeEvent( QCloseEvent *e )
void MainInterface::setInterfaceFullScreen( bool fs ) void MainInterface::setInterfaceFullScreen( bool fs )
{ {
if( fs ) if( fs )
showFullScreen(); setWindowState( windowState() | Qt::WindowFullScreen );
else else
showNormal(); setWindowState( windowState() & ~Qt::WindowFullScreen );
} }
void MainInterface::toggleInterfaceFullScreen() void MainInterface::toggleInterfaceFullScreen()
{ {
......
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