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

git at videolan.org git at videolan.org
Sun Jun 13 00:56:10 CEST 2010


vlc/vlc-1.1 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sun Jun 13 00:55:54 2010 +0200| [019bcc34b11c5ed58a139f4c988b956bfd4ce5ce] | committer: Jean-Baptiste Kempf 

Qt: try to fix hangout on win32

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=019bcc34b11c5ed58a139f4c988b956bfd4ce5ce
---

 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 93588b4..9e8a93c 100644
--- a/modules/gui/qt4/main_interface.cpp
+++ b/modules/gui/qt4/main_interface.cpp
@@ -1131,9 +1131,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