]> git.sesse.net Git - kdenlive/blobdiff - src/smallruler.cpp
Fix forcing some clip properties not always working correctly
[kdenlive] / src / smallruler.cpp
index 74c7692b29befb7466f774e7ad2c522e1d74f7d5..2d45f57ea49d1b7b821bb38fd87aefea6842d039 100644 (file)
@@ -43,7 +43,7 @@ SmallRuler::SmallRuler(Monitor *monitor, Render *render, QWidget *parent) :
     m_zoneStart = 10;
     m_zoneEnd = 60;
     KSharedConfigPtr config = KSharedConfig::openConfig(KdenliveSettings::colortheme());
-    m_zoneBrush = KStatefulBrush(KColorScheme::View, KColorScheme::PositiveBackground, config);
+    m_zoneBrush = KStatefulBrush(KColorScheme::View, KColorScheme::FocusColor, config);
 
     setMouseTracking(true);
     setMinimumHeight(8);
@@ -301,7 +301,7 @@ void SmallRuler::paintEvent(QPaintEvent *e)
 void SmallRuler::updatePalette()
 {
     KSharedConfigPtr config = KSharedConfig::openConfig(KdenliveSettings::colortheme());
-    m_zoneBrush = KStatefulBrush(KColorScheme::View, KColorScheme::PositiveBackground, config);
+    m_zoneBrush = KStatefulBrush(KColorScheme::View, KColorScheme::FocusColor, config);
     updatePixmap();
 }