[vlc-devel] [PATCH] qt: make the time tooltip a tooltip
Romain Vimont
rom1v at videolabs.io
Sat Apr 21 20:58:00 CEST 2018
This avoids to lose window focus when the mouse is over the seekbar (on
XFCE), and should also prevent the tooltip to appear resizeable on
Unity.
Probably fixes #20316
---
modules/gui/qt/util/timetooltip.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/util/timetooltip.cpp b/modules/gui/qt/util/timetooltip.cpp
index 23d47b2528..2e7e97d987 100644
--- a/modules/gui/qt/util/timetooltip.cpp
+++ b/modules/gui/qt/util/timetooltip.cpp
@@ -33,7 +33,7 @@
TimeTooltip::TimeTooltip( QWidget *parent ) :
QWidget( parent )
{
- setWindowFlags( Qt::Tool |
+ setWindowFlags( Qt::ToolTip |
Qt::WindowStaysOnTopHint |
Qt::FramelessWindowHint );
--
2.17.0
More information about the vlc-devel
mailing list