]> git.sesse.net Git - kdenlive/blobdiff - src/simplekeyframes/simplekeyframewidget.cpp
Still const'ref. Minor optimization
[kdenlive] / src / simplekeyframes / simplekeyframewidget.cpp
index 00fee2c919843d9c4e3bd50997ce708f554b6d6e..af8e477e6cd3a33509090a7d6d7553eb04792bc0 100644 (file)
@@ -98,7 +98,7 @@ void SimpleKeyframeWidget::slotSetPosition(int pos, bool update)
         emit positionChanged(pos);
 }
 
-int SimpleKeyframeWidget::getPosition()
+int SimpleKeyframeWidget::getPosition() const
 {
     return m_time->getValue();
 }