[vlc-commits] qt: make the time tooltip a tooltip

Romain Vimont git at videolan.org
Mon Apr 30 11:50:03 CEST 2018


vlc | branch: master | Romain Vimont <rom1v at videolabs.io> | Sat Apr 21 20:58:00 2018 +0200| [58155349a053d38d882d47357b225b8703c696ac] | committer: Hugo Beauzée-Luyssen

qt: make the time tooltip a tooltip

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

Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

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

 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     );
 



More information about the vlc-commits mailing list