]> git.sesse.net Git - kdenlive/blobdiff - src/addclipcommand.cpp
* internal rework: switch clip id's from integer to string
[kdenlive] / src / addclipcommand.cpp
index cda6a485d791847a7a4694fa3fc3b47161cef97e..1807e38c4922fb4d30aa9c6c3c97ffd41fd4a8ea 100644 (file)
@@ -22,7 +22,7 @@
 #include "addclipcommand.h"
 #include "kdenlivedoc.h"
 
-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) {
+AddClipCommand::AddClipCommand(KdenliveDoc *doc, const QDomElement &xml, const QString &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"));
 }
@@ -41,4 +41,3 @@ void AddClipCommand::redo() {
     else m_doc->deleteClip(m_id);
 }
 
-#include "addclipcommand.moc"