From cd0b9da901e6d90daf0db703673d984d2325fa79 Mon Sep 17 00:00:00 2001 From: Ilkka Ollakka Date: Fri, 14 Aug 2009 19:25:55 +0300 Subject: [PATCH] Qt4: correct 3cddf245543afb17406a2017764d73167fa6bd86 restore setWindowState and setParent order --- modules/gui/qt4/components/interface_widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp index 9e530c1471..5cf1a301ab 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() ) ) -- 2.39.2