]> git.sesse.net Git - kdenlive/blobdiff - src/simplekeyframes/simplekeyframewidget.h
Still const'ref. Minor optimization
[kdenlive] / src / simplekeyframes / simplekeyframewidget.h
index 5564e0aca81acde8c6eb84f280d1177054834281..edf6b3aa71edde17f1b9ebb4e082caefe518d012 100644 (file)
@@ -37,7 +37,7 @@ public:
     explicit SimpleKeyframeWidget(const Timecode &t, int duration, QWidget* parent = 0);
     ~SimpleKeyframeWidget();
 
-    int getPosition();
+    int getPosition() const;
     void setKeyframes(const QList <int> &keyframes);
     void addKeyframe(int pos = -1);
 
@@ -60,7 +60,6 @@ private:
     QToolButton *m_buttonAddDelete;
     QToolButton *m_buttonPrevious;
     QToolButton *m_buttonNext;
-    //QToolButton *m_buttonSync;
     TimecodeDisplay *m_time;
 };