Commit cd0b9da9 authored by Ilkka Ollakka's avatar Ilkka Ollakka

Qt4: correct 3cddf245

restore setWindowState and setParent order
parent 753731a2
......@@ -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() ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment