]> git.sesse.net Git - kdenlive/blobdiff - src/customruler.cpp
Make title widget smaller on startup
[kdenlive] / 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;