]> git.sesse.net Git - vlc/commitdiff
Qt4: correct 3cddf245543afb17406a2017764d73167fa6bd86
authorIlkka Ollakka <ileoo@videolan.org>
Fri, 14 Aug 2009 16:25:55 +0000 (19:25 +0300)
committerIlkka Ollakka <ileoo@videolan.org>
Fri, 14 Aug 2009 16:25:55 +0000 (19:25 +0300)
restore setWindowState and setParent order

modules/gui/qt4/components/interface_widgets.cpp

index 9e530c147189b5ae044288f2c6f91a7c16af8b54..5cf1a301abc1837eefcfc6f82b6317cb01e9c5f2 100644 (file)
@@ -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() ) )