[vlc-commits] Qt: Show TimeTooltip window without activating it on OS/2

KO Myung-Hun git at videolan.org
Mon Oct 15 01:02:05 CEST 2012


vlc/vlc-2.0 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Oct  9 19:24:41 2012 +0900| [6ee30a0afb74185508f24d4523990b092fe66db8] | committer: Jean-Baptiste Kempf

Qt: Show TimeTooltip window without activating it on OS/2

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 5f0e2c0921d9ae4c942bfc801e421999d05d602e)

Signed-off-by: KO Myung-Hun <komh at chollian.net>
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=6ee30a0afb74185508f24d4523990b092fe66db8
---

 modules/gui/qt4/util/timetooltip.cpp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
index 4613680..281b383 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -41,9 +41,9 @@ TimeTooltip::TimeTooltip( QWidget *parent ) :
     // a paintEvent occurs. This should save some CPU cycles.
     setAttribute( Qt::WA_OpaquePaintEvent );
 
-#ifdef Q_WS_WIN
+#if defined( Q_WS_WIN ) || defined( Q_WS_PM )
     /*
-    - This attribute is required on Windows to avoid focus stealing of other windows.
+    - This attribute is required on Windows and OS/2 to avoid focus stealing of other windows.
     - When set on Linux the TimeTooltip appears behind the FSController in fullscreen.
     */
     setAttribute( Qt::WA_ShowWithoutActivating );



More information about the vlc-commits mailing list