]> git.sesse.net Git - kdenlive/commitdiff
Set clip name for opened title clips
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 29 Jul 2009 22:48:06 +0000 (22:48 +0000)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Wed, 29 Jul 2009 22:48:06 +0000 (22:48 +0000)
svn path=/trunk/kdenlive/; revision=3780

src/clipmanager.cpp

index fc33da1dd33e8934aecdf05aab62fa3d01fdc0cf..032a8524958ee280f8b6a0244f353fc5f9dc0e84 100644 (file)
@@ -267,7 +267,7 @@ void ClipManager::slotAddClipList(const KUrl::List urls, const QString group, co
                 if (txtfile.open(QIODevice::ReadOnly) && txtdoc.setContent(&txtfile)) {
                     txtfile.close();
                     prod.setAttribute("type", (int) TEXT);
-                    prod.setAttribute("resource", QString());
+                    prod.setAttribute("resource", file.path());
                     prod.setAttribute("xmldata", txtdoc.toString());
                     GenTime outPos(txtdoc.documentElement().attribute("out").toDouble() / 1000.0);
                     prod.setAttribute("transparency", 1);