vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Wed Jun  1 
19:04:45 2016 +0200| [dff78143f2e498f1861914b3417dd087aa92acae] | committer: 
Jean-Baptiste Kempf

Qt: fix tooltip position on Qt4 for Windows

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

 modules/gui/qt/util/timetooltip.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/util/timetooltip.cpp 
b/modules/gui/qt/util/timetooltip.cpp
index 28fa7de..9afb30c 100644
--- a/modules/gui/qt/util/timetooltip.cpp
+++ b/modules/gui/qt/util/timetooltip.cpp
@@ -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 );

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to