From: Jean-Baptiste Mardelle Date: Tue, 11 Sep 2012 07:13:40 +0000 (+0200) Subject: Make sure the seeking cursor is hidden when playhead is at the same place: X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=96cae9f64db98058d31d5bcf2c0be70526f57914;p=kdenlive Make sure the seeking cursor is hidden when playhead is at the same place: http://kdenlive.org/mantis/view.php?id=2724 --- diff --git a/src/customruler.cpp b/src/customruler.cpp index e0c26251..a5b44868 100644 --- a/src/customruler.cpp +++ b/src/customruler.cpp @@ -457,7 +457,7 @@ void CustomRuler::paintEvent(QPaintEvent *e) p.setPen(Qt::NoPen); p.drawPolygon(pa); - if (m_lastSeekPosition != SEEK_INACTIVE) { + if (m_lastSeekPosition != SEEK_INACTIVE && m_lastSeekPosition != m_view->cursorPos()) { p.fillRect(m_lastSeekPosition * m_factor - m_offset - 1, BIG_MARK_X, 3, MAX_HEIGHT - 1, palette().highlight()); }