]> git.sesse.net Git - vlc/commitdiff
Qt: fix tooltip events handling on Win32
authorLudovic Fauvet <etix@l0cal.com>
Wed, 28 Sep 2011 22:27:53 +0000 (00:27 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 28 Sep 2011 22:27:53 +0000 (00:27 +0200)
Close #4779

modules/gui/qt4/util/timetooltip.cpp

index 307943e082afb110972e931de62f46c207b44307..70ea91442dfd4ea5f436f09a0f46320f223abc38 100644 (file)
@@ -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 ) );