]> git.sesse.net Git - vlc/commitdiff
Qt: undo the FSC/KDE workaround
authorLudovic Fauvet <etix@l0cal.com>
Thu, 21 Apr 2011 23:49:41 +0000 (01:49 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 27 Apr 2011 15:13:19 +0000 (17:13 +0200)
This is a partial revert of the "fix" introduced in
ffe7367b1672ec72705ec4cb440758ec0c869230.

If you encounter a visual bug in the fullscreen controller and you are
using KDE, please upgrade to version 4.6.2 or don't use the Oxygen
theme.

Ref: https://bugs.kde.org/show_bug.cgi?id=254473

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/components/controller.cpp

index aec58c76e8683f3a118cdc713674b026a7640fe3..3de111a2369d562b26ea788b3c2731faa9343d85 100644 (file)
@@ -710,12 +710,7 @@ FullscreenControllerWidget::FullscreenControllerWidget( intf_thread_t *_p_i, QWi
 
     vout.clear();
 
-#ifdef Q_WS_X11
-    setWindowFlags( Qt::Window | Qt::FramelessWindowHint | Qt::WindowStaysOnTopHint );
-    setWindowModality( Qt::ApplicationModal );
-#else
     setWindowFlags( Qt::ToolTip );
-#endif
     setMinimumWidth( 600 );
 
     setFrameShape( QFrame::StyledPanel );