Commit b707a067 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: code cosmetic.

parent eb16d85e
......@@ -1175,10 +1175,10 @@ void MainInterface::customEvent( QEvent *event )
{
SetVideoOnTopQtEvent* p_event = (SetVideoOnTopQtEvent*)event;
if( p_event->OnTop() )
setWindowFlags(windowFlags() | Qt::WindowStaysOnTopHint);
setWindowFlags( windowFlags() | Qt::WindowStaysOnTopHint );
else
setWindowFlags(windowFlags() & ~Qt::WindowStaysOnTopHint);
show(); /* necessary to apply window flags?? */
setWindowFlags( windowFlags() & ~Qt::WindowStaysOnTopHint );
show(); /* necessary to apply window flags */
}
}
......
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