]> git.sesse.net Git - kdenlive/blobdiff - src/docclipbase.cpp
Fix crash when adding clip to project:
[kdenlive] / src / docclipbase.cpp
index db6cd892d47cdf76f04ca75f143977308d1835ae..4ebed002dc2f548f3d8669998e768c6ab40d97f6 100644 (file)
@@ -585,7 +585,7 @@ void DocClipBase::clearProperty(const QString &key) {
     m_properties.remove(key);
 }
 
-void DocClipBase::getFileHash(const QString &url) {
+void DocClipBase::getFileHash(const QString url) {
     if (m_clipType == SLIDESHOW) return;
     QFile file(url);
     if (file.open(QIODevice::ReadOnly)) { // write size and hash only if resource points to a file