Commit 38871723 authored by Vincent Pinon's avatar Vincent Pinon
Browse files

fix clip loading on windows

parent ae665d16
......@@ -423,7 +423,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
QDomElement prod = xml.createElement(QStringLiteral("producer"));
QMap <QString, QString> properties;
properties.insert(QStringLiteral("resource"), file.path());
properties.insert(QStringLiteral("resource"), file.toLocalFile());
if (!groupInfo.isEmpty()) {
......@@ -433,7 +433,6 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>;
properties.insert(i.key(), i.value());
//prod.setAttribute("resource", file.path());
uint id = bin->getFreeClipId();
prod.setAttribute(QStringLiteral("id"), QString::number(id));
QMimeDatabase db;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment