]> git.sesse.net Git - kdenlive/blobdiff - src/addclipcutcommand.h
Revert commit 5845. The consumer producer does not automatically get invoked.
[kdenlive] / src / addclipcutcommand.h
index 7a8f832d2a202442e65494a489d245c7ebaec1a3..96f3239e1f18ee21bef13a02157842359ee71f7b 100644 (file)
@@ -29,7 +29,7 @@ class ProjectList;
 class AddClipCutCommand : public QUndoCommand
 {
 public:
-    AddClipCutCommand(ProjectList *list, const QString &id, int in, int out, const QString desc, bool remove, QUndoCommand * parent = 0);
+    AddClipCutCommand(ProjectList *list, const QString &id, int in, int out, const QString desc, bool newItem, bool remove, QUndoCommand * parent = 0);
 
     virtual void undo();
     virtual void redo();
@@ -40,6 +40,7 @@ private:
     int m_in;
     int m_out;
     QString m_desc;
+    bool m_newItem;
     bool m_remove;
 };