X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkdenlivedoc.cpp;h=05851246b7c8a1ecd03aed86d7094490d8ed6b90;hb=f223c83a30c943983283f5e9eacc5bbcc8278329;hp=07471af0c3f0599079f26c979f9b2dff615bea2b;hpb=0e89403638541b6236ad1b78dfeb9eebc0ce9767;p=kdenlive diff --git a/src/kdenlivedoc.cpp b/src/kdenlivedoc.cpp index 07471af0..05851246 100644 --- a/src/kdenlivedoc.cpp +++ b/src/kdenlivedoc.cpp @@ -844,7 +844,7 @@ void KdenliveDoc::setProjectFolder(KUrl url) updateProjectFolderPlacesEntry(); } -void KdenliveDoc::moveProjectData(KUrl url) +void KdenliveDoc::moveProjectData(const KUrl &url) { QList list = m_clipManager->documentClipList(); KUrl::List cacheUrls; @@ -1258,7 +1258,7 @@ void KdenliveDoc::deleteClip(const QString &clipId) emit signalDeleteProjectClip(clipId); } -void KdenliveDoc::slotAddClipList(const KUrl::List urls, stringMap data) +void KdenliveDoc::slotAddClipList(const KUrl::List &urls, const stringMap &data) { m_clipManager->slotAddClipList(urls, data); //emit selectLastAddedClip(QString::number(m_clipManager->lastClipId())); @@ -1266,7 +1266,7 @@ void KdenliveDoc::slotAddClipList(const KUrl::List urls, stringMap data) } -void KdenliveDoc::slotAddClipFile(const KUrl &url, stringMap data) +void KdenliveDoc::slotAddClipFile(const KUrl &url, const stringMap &data) { m_clipManager->slotAddClipFile(url, data); emit selectLastAddedClip(QString::number(m_clipManager->lastClipId()));