]> git.sesse.net Git - kdenlive/commitdiff
Fix crash when adding clip to project:
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 30 Mar 2009 17:09:09 +0000 (17:09 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 30 Mar 2009 17:09:09 +0000 (17:09 +0000)
http://www.kdenlive.org:80/mantis/view.php?id=738

svn path=/trunk/kdenlive/; revision=3187

src/docclipbase.cpp
src/docclipbase.h

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
index d951da503a0e55ec643001441f17e8f13fc09467..063731e0fced5104605ae3f66ee8167d81d4ddd1 100644 (file)
@@ -212,7 +212,7 @@ private:   // Private attributes
     void slotCreateAudioTimer();
     void slotRefreshProducer();
     void setProducerProperty(const char *name, int data);
-    void getFileHash(const QString &url);
+    void getFileHash(const QString url);
 
 public slots:
     void updateAudioThumbnail(QMap<int, QMap<int, QByteArray> > data);