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

KO Myung-Hun komh78 at gmail.com
Fri Oct 12 12:43:43 CEST 2012


Ping ?

KO Myung-Hun wrote:
> ---
>  modules/gui/qt4/util/timetooltip.cpp |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/modules/gui/qt4/util/timetooltip.cpp b/modules/gui/qt4/util/timetooltip.cpp
> index bf6eb87..1cff329 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 );

-- 
KO Myung-Hun

Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v4.1.18 on Intel Core i7-3615QM 2.30GHz with 8GB RAM

Korean OS/2 User Community : http://www.ecomstation.co.kr




More information about the vlc-devel mailing list