[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdenlive/Applications/16.12] src/dialogs: fix clip loading on windows
From: Vincent Pinon <vpinon () kde ! org>
Date: 2016-12-06 8:08:55
Message-ID: E1cEAo3-0001U9-QO () code ! kde ! org
[Download RAW message or body]
Git commit 388717238b03ca663187ec0e05209dcd0dfe5dfb by Vincent Pinon.
Committed on 06/12/2016 at 07:31.
Pushed by vpinon into branch 'Applications/16.12'.
fix clip loading on windows
M +1 -2 src/dialogs/clipcreationdialog.cpp
https://commits.kde.org/kdenlive/388717238b03ca663187ec0e05209dcd0dfe5dfb
diff --git a/src/dialogs/clipcreationdialog.cpp b/src/dialogs/clipcreationdialog.cpp
index 61c239b07..9700ef78a 100644
--- a/src/dialogs/clipcreationdialog.cpp
+++ b/src/dialogs/clipcreationdialog.cpp
@@ -423,7 +423,7 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
QDomElement prod = xml.createElement(QStringLiteral("producer"));
xml.appendChild(prod);
QMap <QString, QString> properties;
- properties.insert(QStringLiteral("resource"), file.path());
+ properties.insert(QStringLiteral("resource"), file.toLocalFile());
if (!groupInfo.isEmpty()) {
properties.insert(QStringLiteral("kdenlive:folderid"), groupInfo.at(0));
}
@@ -433,7 +433,6 @@ void ClipCreationDialog::createClipsCommand(KdenliveDoc *doc, const QList<QUrl>
i.next();
properties.insert(i.key(), i.value());
}
- //prod.setAttribute("resource", file.path());
uint id = bin->getFreeClipId();
prod.setAttribute(QStringLiteral("id"), QString::number(id));
QMimeDatabase db;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic