Commit dd601fe8 authored by Ludovic Fauvet's avatar Ludovic Fauvet Committed by Jean-Baptiste Kempf

Qt: attempt to fix the borderless time bubble on KDE

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent e83c9f51
...@@ -32,7 +32,10 @@ ...@@ -32,7 +32,10 @@
TimeTooltip::TimeTooltip( QWidget *parent ) : TimeTooltip::TimeTooltip( QWidget *parent ) :
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 // Tell Qt that it doesn't need to erase the background before
// a paintEvent occurs. This should save some CPU cycles. // a paintEvent occurs. This should save some CPU cycles.
......
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