From: Jean-Baptiste Mardelle Date: Sun, 29 Nov 2009 11:09:30 +0000 (+0000) Subject: Fix timeline ruler tooltip showing wrong position: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=5398f0cf7d8c22ebec959938bbaec582d77c7914;p=kdenlive Fix timeline ruler tooltip showing wrong position: http://kdenlive.org/mantis/view.php?id=1319 svn path=/trunk/kdenlive/; revision=4152 --- diff --git a/src/customruler.cpp b/src/customruler.cpp index e840c20d..71d31310 100644 --- a/src/customruler.cpp +++ b/src/customruler.cpp @@ -197,7 +197,7 @@ void CustomRuler::mouseMoveEvent(QMouseEvent * event) setToolTip(i18n("Zone duration: %1", m_timecode.getTimecodeFromFrames(m_zoneEnd - m_zoneStart))); } else { setCursor(Qt::ArrowCursor); - setToolTip(i18n("Position: %1", m_timecode.getTimecodeFromFrames(pos))); + setToolTip(i18n("Position: %1", m_timecode.getTimecodeFromFrames(pos / m_factor))); } } }