]> git.sesse.net Git - kdenlive/blobdiff - src/keyframeedit.cpp
Cleanup some timeline operations
[kdenlive] / src / keyframeedit.cpp
index 8014cd0e54364264e34173a7ebeb95a95691366a..0d4bc1d3fe71f272b257974b2ad4925d8a09d010 100644 (file)
@@ -463,7 +463,7 @@ void KeyframeEdit::checkVisibleParam()
     if (m_params.count() == 0)
         return;
     
-    foreach(QDomElement elem, m_params) {
+    foreach(const QDomElement &elem, m_params) {
         if (elem.attribute("intimeline") == "1")
             return;
     }
@@ -471,4 +471,10 @@ void KeyframeEdit::checkVisibleParam()
     slotUpdateVisibleParameter(0);
 }
 
+void KeyframeEdit::slotUpdateRange(int inPoint, int outPoint)
+{
+    m_min = inPoint;
+    m_max = outPoint;
+}
+
 #include "keyframeedit.moc"