]> git.sesse.net Git - vlc/commitdiff
Qt: try to fix hangout on win32
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 12 Jun 2010 22:55:54 +0000 (00:55 +0200)
committerLaurent Aimar <fenrir@videolan.org>
Sat, 12 Jun 2010 23:07:24 +0000 (01:07 +0200)
Signed-off-by: Laurent Aimar <fenrir@videolan.org>
modules/gui/qt4/main_interface.cpp

index 1a86e3478091d3204731fec25fc1ebaf7b40ab73..ef0bce8782f899f28e1613010bf84b91e0d9ce91 100644 (file)
@@ -1144,9 +1144,9 @@ void MainInterface::closeEvent( QCloseEvent *e )
 void MainInterface::setInterfaceFullScreen( bool fs )
 {
     if( fs )
-        showFullScreen();
+        setWindowState( windowState() | Qt::WindowFullScreen );
     else
-        showNormal();
+        setWindowState( windowState() & ~Qt::WindowFullScreen );
 }
 void MainInterface::toggleInterfaceFullScreen()
 {