Commit dff78143 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix tooltip position on Qt4 for Windows

parent dac320e3
......@@ -69,7 +69,7 @@ void TimeTooltip::adjustPosition()
// The desired label position is just above the target
QPoint position( mTarget.x() - size.width() / 2,
#if defined( Q_OS_WIN )
#if defined( Q_OS_WIN ) && HAS_QT5
mTarget.y() - 2 * size.height() - TIP_HEIGHT / 2 );
#else
mTarget.y() - size.height() + TIP_HEIGHT / 2 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment