]> git.sesse.net Git - kdenlive/commitdiff
Fix ruler text:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 3 Jun 2010 18:15:36 +0000 (18:15 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Thu, 3 Jun 2010 18:15:36 +0000 (18:15 +0000)
http://www.kdenlive.org/mantis/view.php?id=1639

svn path=/trunk/kdenlive/; revision=4497

src/customruler.cpp

index 8a9526931ae3517c81c02d8a61d9984e53c20e81..eb1682a25fec07e4825a3055a3fa181f39676d5e 100644 (file)
@@ -108,6 +108,7 @@ void CustomRuler::slotDeleteGuide()
 
 void CustomRuler::slotGoToGuide(QAction *act)
 {
+    m_view->setCursorPos(act->data().toInt(), true);
     m_view->initCursorPos(act->data().toInt());
 }
 
@@ -341,7 +342,7 @@ void CustomRuler::paintEvent(QPaintEvent *e)
     double f, fend;
     const int offsetmax = maxval * FRAME_SIZE;
 
-    p.setPen(palette().dark().color());
+    p.setPen(palette().text().color());
 
     // draw time labels
     int offsetmin = (e->rect().left() + m_offset) / m_textSpacing;