[vlc-devel] [PATCH] qt: fix the position of the time tooltip (fixes #17196)

Daniel Amm da2424 at t-online.de
Thu Dec 29 19:13:41 CET 2016


---
 modules/gui/qt/util/timetooltip.cpp | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/gui/qt/util/timetooltip.cpp b/modules/gui/qt/util/timetooltip.cpp
index 9afb30c..7bd5e70 100644
--- a/modules/gui/qt/util/timetooltip.cpp
+++ b/modules/gui/qt/util/timetooltip.cpp
@@ -69,11 +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 ) && HAS_QT5
-        mTarget.y() - 2 * size.height() - TIP_HEIGHT / 2 );
-#else
         mTarget.y() - size.height() + TIP_HEIGHT / 2 );
-#endif
 
     // Keep the tooltip on the same screen if possible
     QRect screen = QApplication::desktop()->screenGeometry( mTarget );
-- 
2.10.2.windows.1



More information about the vlc-devel mailing list