]> git.sesse.net Git - kdenlive/blobdiff - src/addclipcommand.cpp
* Be more clever when adding several clips to a project
[kdenlive] / src / addclipcommand.cpp
index e1e5ca736d12cd7e8a32aa910556e075becba8e5..cda6a485d791847a7a4694fa3fc3b47161cef97e 100644 (file)
@@ -22,8 +22,7 @@
 #include "addclipcommand.h"
 #include "kdenlivedoc.h"
 
-AddClipCommand::AddClipCommand(KdenliveDoc *doc, const QDomElement &xml, const uint id, bool doIt)
-        : m_doc(doc), m_xml(xml), m_id(id), m_doIt(doIt) {
+AddClipCommand::AddClipCommand(KdenliveDoc *doc, const QDomElement &xml, const uint id, bool doIt, QUndoCommand * parent) : QUndoCommand(parent), m_doc(doc), m_xml(xml), m_id(id), m_doIt(doIt) {
     if (doIt) setText(i18n("Add clip"));
     else setText(i18n("Delete clip"));
 }