#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"));
else m_doc->deleteFolder(m_name, m_id);
}
-#include "addfoldercommand.moc"
+