[vlc-commits] Qt: fix tooltip events handling on Win32
Ludovic Fauvet
git at videolan.org
Thu Sep 29 00:29:30 CEST 2011
vlc | branch: master | Ludovic Fauvet <etix at l0cal.com> | Thu Sep 29 00:27:53 2011 +0200| [9367ce0b3a40851a656e136557347fe8e830770c] | committer: Jean-Baptiste Kempf
Qt: fix tooltip events handling on Win32
Close #4779
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9367ce0b3a40851a656e136557347fe8e830770c
---
modules/gui/qt4/util/timetooltip.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
index 307943e..70ea914 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -40,6 +40,7 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
// Tell Qt that it doesn't need to erase the background before
// a paintEvent occurs. This should save some CPU cycles.
setAttribute( Qt::WA_OpaquePaintEvent );
+ setAttribute( Qt::WA_ShowWithoutActivating );
// Inherit from the system default font size -5
mFont = QFont( "Verdana", qMax( qApp->font().pointSize() - 5, 7 ) );
More information about the vlc-commits
mailing list