]> git.sesse.net Git - kdenlive/blobdiff - src/addfoldercommand.cpp
* internal rework: switch clip id's from integer to string
[kdenlive] / src / addfoldercommand.cpp
index a64a218ba25a1cf74b4741c1609c1ec666546bf6..7b881c5daf3c7dd87b6b6fe81fe0e3763d171eeb 100644 (file)
@@ -22,7 +22,7 @@
 #include "addfoldercommand.h"
 #include "kdenlivedoc.h"
 
-AddFolderCommand::AddFolderCommand(KdenliveDoc *doc, const QString folderName, int clipId, bool doIt)
+AddFolderCommand::AddFolderCommand(KdenliveDoc *doc, const QString folderName, const QString &clipId, bool doIt)
         : m_doc(doc), m_name(folderName), m_id(clipId), m_doIt(doIt) {
     if (doIt) setText(i18n("Add folder"));
     else setText(i18n("Delete folder"));
@@ -39,4 +39,4 @@ void AddFolderCommand::redo() {
     else m_doc->deleteFolder(m_name, m_id);
 }
 
-#include "addfoldercommand.moc"
+