Commit ad8f9a79 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: avoid transient window glitch when leaving full-screen

Pointed-out-by: Jean-Baptiste Kempf
parent 5b2d9a63
......@@ -168,14 +168,14 @@ void VideoWidget::SetFullScreen( bool b_fs )
if( b_fs )
{ /* Go full-screen */
reparentable->setParent( NULL );
reparentable->setWindowState( newstate );
reparentable->setParent( NULL );
reparentable->show();
}
else
{ /* Go windowed */
reparentable->setWindowState( newstate );
layout->addWidget( reparentable );
reparentable->setWindowState( newstate );
}
}
......
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