]> git.sesse.net Git - kdenlive/blobdiff - src/commands/refreshmonitorcommand.h
Fix crash on project clip deletion
[kdenlive] / src / commands / refreshmonitorcommand.h
index 5a11a4ce5a5ff0a76c6b6c31f514de99479e0a8a..111daa42060a4f7b45d31489aabd132987440d29 100644 (file)
@@ -28,13 +28,14 @@ class CustomTrackView;
 class RefreshMonitorCommand : public QUndoCommand
 {
 public:
-    RefreshMonitorCommand(CustomTrackView *view, bool execute, QUndoCommand * parent = 0);
+    RefreshMonitorCommand(CustomTrackView *view, bool execute, bool refreshOnUndo, QUndoCommand * parent = 0);
     virtual void undo();
     virtual void redo();
 
 private:
     CustomTrackView *m_view;
     bool m_exec;
+    bool m_execOnUndo;
 };
 
 #endif