[vlc-commits] commit: Qt: try to fix hangout on win32 (Jean-Baptiste Kempf )

git at videolan.org git at videolan.org
Sun Jun 13 01:07:38 CEST 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jun 13 00:55:54 2010 +0200| [3f02af55066ffad01869bce27761da117580d6a3] | committer: Laurent Aimar 

Qt: try to fix hangout on win32

Signed-off-by: Laurent Aimar <fenrir at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3f02af55066ffad01869bce27761da117580d6a3
---

 modules/gui/qt4/main_interface.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/main_interface.cpp b/modules/gui/qt4/main_interface.cpp
index 1a86e34..ef0bce8 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()
 {



More information about the vlc-commits mailing list