]> git.sesse.net Git - vlc/commitdiff
Qt: attempt to fix the borderless time bubble on KDE
authorLudovic Fauvet <etix@l0cal.com>
Mon, 26 Sep 2011 20:48:01 +0000 (22:48 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Sep 2011 09:19:41 +0000 (11:19 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/util/timetooltip.cpp

index c6086e8f19c30d2ab3ecea87a18810cdfe9fb554..307943e082afb110972e931de62f46c207b44307 100644 (file)
 TimeTooltip::TimeTooltip( QWidget *parent ) :
     QWidget( parent )
 {
-    setWindowFlags( Qt::ToolTip );
+    setWindowFlags( Qt::Window                  |
+                    Qt::WindowStaysOnTopHint    |
+                    Qt::FramelessWindowHint     |
+                    Qt::X11BypassWindowManagerHint );
 
     // Tell Qt that it doesn't need to erase the background before
     // a paintEvent occurs. This should save some CPU cycles.