[vlc-commits] Qt: Show TimeTooltip window without activating it on	OS/2
    KO Myung-Hun 
    git at videolan.org
       
    Fri Oct 12 11:26:22 CEST 2012
    
    
  
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Oct  9 19:24:41 2012 +0900| [5f0e2c0921d9ae4c942bfc801e421999d05d602e] | committer: Jean-Baptiste Kempf
Qt: Show TimeTooltip window without activating it on OS/2
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5f0e2c0921d9ae4c942bfc801e421999d05d602e
---
 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 cf93969..0f5666c 100644
--- a/modules/gui/qt4/util/timetooltip.cpp
+++ b/modules/gui/qt4/util/timetooltip.cpp
@@ -42,9 +42,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