]> git.sesse.net Git - kdenlive/blobdiff - src/markerdialog.h
Fix crash when clicking the render button
[kdenlive] / src / markerdialog.h
index 5c6707c3d807726e7e62d3b3d494ce4ad146392e..88960ca480d596aff5d926a785f8ab1574692968 100644 (file)
 #define MARKERDIALOG_H
 
 
+#include "ui_markerdialog_ui.h"
 #include "docclipbase.h"
 #include "timecode.h"
-#include "ui_markerdialog_ui.h"
+#include "timecodedisplay.h"
 
 namespace Mlt
 {
@@ -32,6 +33,12 @@ class Producer;
 class Profile;
 };
 
+/**
+ * @class MarkerDialog
+ * @brief A dialog for editing markers and guides.
+ * @author Jean-Baptiste Mardelle
+ */
+
 class MarkerDialog : public QDialog, public Ui::MarkerDialog_UI
 {
     Q_OBJECT
@@ -42,19 +49,13 @@ public:
     CommentedTime newMarker();
 
 private slots:
-    void slotTimeUp();
-    void slotTimeDown();
     void slotUpdateThumb();
 
-protected:
-    void wheelEvent(QWheelEvent * event);
-
 private:
     Mlt::Producer *m_producer;
     Mlt::Profile *m_profile;
     DocClipBase *m_clip;
-    Timecode m_tc;
-    double m_fps;
+    TimecodeDisplay *m_in;
     double m_dar;
     QTimer *m_previewTimer;