]> git.sesse.net Git - kdenlive/commitdiff
Fix compile warning
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 9 Aug 2009 16:34:01 +0000 (16:34 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Sun, 9 Aug 2009 16:34:01 +0000 (16:34 +0000)
svn path=/trunk/kdenlive/; revision=3808

plugins/sampleplugin/sampleplugin.cpp

index 36eb5e9d12cb7ab4a909e56980f7790a6bcfa93f..74b22f8619aba0daad000681babf821c373322fc 100644 (file)
@@ -67,7 +67,7 @@ KUrl SamplePlugin::generatedClip(const QString &generator, const KUrl &projectFo
     view.path->setMode(KFile::File);
 
     QString clipFile = prePath + counter + ".mlt";
-    view.path->setPath(clipFile);
+    view.path->setUrl(KUrl(clipFile));
     if (d.exec() == QDialog::Accepted) {
         QDomDocument doc;
         QDomElement mlt = doc.createElement("mlt");