From 3f02af55066ffad01869bce27761da117580d6a3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 13 Jun 2010 00:55:54 +0200 Subject: [PATCH] Qt: try to fix hangout on win32 Signed-off-by: Laurent Aimar --- modules/gui/qt4/main_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp index 1a86e34780..ef0bce8782 100644 --- a/modules/gui/qt4/main_interface.cpp +++ b/modules/gui/qt4/main_interface.cpp @@ -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() { -- 2.39.2