]> git.sesse.net Git - kdenlive/commitdiff
Make sure the seeking cursor is hidden when playhead is at the same place:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 11 Sep 2012 07:13:40 +0000 (09:13 +0200)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Tue, 11 Sep 2012 07:13:40 +0000 (09:13 +0200)
http://kdenlive.org/mantis/view.php?id=2724

src/customruler.cpp

index e0c262511aaa98694f18723f5cd7d95a201b7209..a5b448689efc42766e6737727073d542c8103bb4 100644 (file)
@@ -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());
     }