[vlc-devel] commit: Qt4: correct 3cddf245543afb17406a2017764d73167fa6bd86 ( Ilkka Ollakka )

git version control git at videolan.org
Fri Aug 14 18:29:21 CEST 2009


vlc | branch: master | Ilkka Ollakka <ileoo at videolan.org> | Fri Aug 14 19:25:55 2009 +0300| [cd0b9da901e6d90daf0db703673d984d2325fa79] | committer: Ilkka Ollakka 

Qt4: correct 3cddf245543afb17406a2017764d73167fa6bd86

restore setWindowState and setParent order

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

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

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 9e530c1..5cf1a30 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -180,8 +180,8 @@ void VideoWidget::SetFullScreen( bool b_fs )
         int numscreen = QApplication::desktop()->screenNumber( p_intf->p_sys->p_mi );
         QRect screenres = QApplication::desktop()->screenGeometry( numscreen );
 
-        reparentable->setParent( NULL );
         reparentable->setWindowState( newstate );
+        reparentable->setParent( NULL );
         reparentable->setWindowFlags( newflags );
         /* To be sure window is on proper-screen in xinerama */
         if( !screenres.contains( reparentable->pos() ) )




More information about the vlc-devel mailing list