]> git.sesse.net Git - kdenlive/blobdiff - src/renderer.cpp
More krazy code fixes
[kdenlive] / src / renderer.cpp
index 503f02ffbc994e219bc9f0acd3a125dbd85a7305..97fcd3c1a3e0c76bd88fb65b7e6ba44d2ef67825 100644 (file)
@@ -467,7 +467,7 @@ void Render::getFileProperties(const QDomElement &xml, const QString &clipId, bo
     QMap < QString, QString > filePropertyMap;
     QMap < QString, QString > metadataPropertyMap;
 
-    KUrl url = KUrl(xml.attribute("resource", QString::null));
+    KUrl url = KUrl(xml.attribute("resource", QString()));
     Mlt::Producer *producer = NULL;
     if (xml.attribute("type").toInt() == TEXT && !QFile::exists(url.path())) {
         emit replyGetFileProperties(clipId, producer, filePropertyMap, metadataPropertyMap, replaceProducer);