]> git.sesse.net Git - kdenlive/blobdiff - src/moveclipcommand.h
Try to fix the concurrency issues causing crash in the avformat producer
[kdenlive] / src / moveclipcommand.h
index 7cf002ec6a5dd6b3b0188a4994796f131538928d..5b7d99ffecac95d1495be7a3dba530be8fd19886 100644 (file)
 #ifndef MOVECLIPCOMMAND_H
 #define MOVECLIPCOMMAND_H
 
-#include <QUndoCommand>
-#include <QGraphicsView>
-#include <QPointF>
 
-#include <KDebug>
 #include "definitions.h"
+#include <QUndoCommand>
 
 class CustomTrackView;
 
-class MoveClipCommand : public QUndoCommand {
+class MoveClipCommand : public QUndoCommand
+{
 public:
-    MoveClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt);
+    MoveClipCommand(CustomTrackView *view, const ItemInfo start, const ItemInfo end, bool doIt, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();
 
@@ -41,6 +39,7 @@ private:
     const ItemInfo m_startPos;
     const ItemInfo m_endPos;
     bool m_doIt;
+    bool m_refresh;
 };
 
 #endif