]> git.sesse.net Git - kdenlive/blobdiff - src/customruler.cpp
Make sure the seeking cursor is hidden when playhead is at the same place:
[kdenlive] / 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());
     }