]> git.sesse.net Git - kdenlive/commitdiff
Fix painting of guides with vertical scroll (introduced in svn rev, 5165)
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 12 Dec 2010 15:01:26 +0000 (15:01 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 12 Dec 2010 15:01:26 +0000 (15:01 +0000)
svn path=/trunk/kdenlive/; revision=5166

src/customtrackview.cpp

index ec30b67bafcd99c2f2b20929f87c2cbccc10c604..fd39228c960dbc85a0b8412ed4b8f37af3686273 100644 (file)
@@ -175,6 +175,9 @@ CustomTrackView::CustomTrackView(KdenliveDoc *doc, CustomTrackScene* projectscen
     connect(&m_thumbsTimer, SIGNAL(timeout()), this, SLOT(slotFetchNextThumbs()));
     m_thumbsTimer.setInterval(500);
     m_thumbsTimer.setSingleShot(true);
+
+    // repaint guides when using vertical scroll
+    connect(verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(slotRefreshGuides()));
 }
 
 CustomTrackView::~CustomTrackView()