Pointed-out-by: Jean-Baptiste Kempf
if( b_fs )
{ /* Go full-screen */
if( b_fs )
{ /* Go full-screen */
- reparentable->setParent( NULL );
reparentable->setWindowState( newstate );
reparentable->setWindowState( newstate );
+ reparentable->setParent( NULL );
reparentable->show();
}
else
{ /* Go windowed */
reparentable->show();
}
else
{ /* Go windowed */
- reparentable->setWindowState( newstate );
layout->addWidget( reparentable );
layout->addWidget( reparentable );
+ reparentable->setWindowState( newstate );