[vlc-commits] qt: make the time tooltip a tooltip
Romain Vimont
git at videolan.org
Mon Apr 30 11:54:07 CEST 2018
vlc/vlc-3.0 | branch: master | Romain Vimont <rom1v at videolabs.io> | Sat Apr 21 20:58:00 2018 +0200| [f0efb0d42eccb35046d7cee88176ce0d753184d8] | 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>
(cherry picked from commit 58155349a053d38d882d47357b225b8703c696ac)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=f0efb0d42eccb35046d7cee88176ce0d753184d8
---
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