[vlc-commits] Qt: attempt to fix the borderless time bubble on KDE

Ludovic Fauvet git at videolan.org
Wed Sep 28 11:20:29 CEST 2011


vlc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Mon Sep 26 22:48:01 2011 +0200| [dd601fe869a0e3f3cbfc8a609b197d49d4ce9c5c] | committer: Jean-Baptiste Kempf

Qt: attempt to fix the borderless time bubble on KDE

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd601fe869a0e3f3cbfc8a609b197d49d4ce9c5c
---

 modules/gui/qt4/util/timetooltip.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
index c6086e8..307943e 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -32,7 +32,10 @@
 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.



More information about the vlc-commits mailing list