vlc | branch: master | Ludovic Fauvet <[email protected]> | 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 <[email protected]>

> 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.

_______________________________________________
vlc-commits mailing list
[email protected]
http://mailman.videolan.org/listinfo/vlc-commits

Reply via email to