[vlc-devel] [vlc-commits] Qt: fix the Win32/Qt5 tooltip focus/raising issue

Daniel Amm da2424 at t-online.de
Sat May 28 16:36:55 CEST 2016


I hope this is the correct place to talk about it:

> @@ -83,7 +69,11 @@ void TimeTooltip::adjustPosition()
>  
>      // The desired label position is just above the target
>      QPoint position( mTarget.x() - size.width() / 2,
> +#if defined( Q_OS_WIN )
> +        mTarget.y() - 2 * size.height() - TIP_HEIGHT / 2 );
> +#else
>          mTarget.y() - size.height() + TIP_HEIGHT / 2 );
> +#endif

Is there a reason for this change? On all my windows systems, the tooltip
will be placed too high. Without this change, the patch will work fine for
me.



More information about the vlc-devel mailing list