]> git.sesse.net Git - kdenlive/blobdiff - src/kdenlivedoc.cpp
[PATCH by Ray Lehtiniemi] Do not return references to temporaries.
[kdenlive] / src / kdenlivedoc.cpp
index 539f87a7e0b446a443c2499463c8a3f442b1009c..03a1d3bdf73f208aeedd27cc30155db1236cb24f 100644 (file)
@@ -1465,7 +1465,7 @@ void KdenliveDoc::slotAddClipFile(const KUrl url, const QString group, const QSt
     setModified(true);
 }
 
-const QString&KdenliveDoc::getFreeClipId() {
+const QString KdenliveDoc::getFreeClipId() {
     return QString::number(m_clipManager->getFreeClipId());
 }