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

Qt: Solve issue with alwaysOnTop and fullscreen conflicting

Win32 only, for some reason (Qt bug?)
Close #3976
parent 60e0ca5e
......@@ -684,8 +684,8 @@ void MainInterface::setVideoOnTop( bool on_top )
newflags = oldflags | Qt::WindowStaysOnTopHint;
else
newflags = oldflags & ~Qt::WindowStaysOnTopHint;
if( newflags != oldflags && !b_videoFullScreen )
if( newflags != oldflags )
{
setWindowFlags( newflags );
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