Commit bed54470 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Improve recovery for project files with missing proxy and source

parent b3bc1403
......@@ -780,6 +780,9 @@ QString DocumentChecker::getMissingProducers(const QDomElement &e, const QDomNod
movedOriginal = QDir(movedOriginal).absoluteFilePath(QFileInfo(original).fileName());
}
Xml::setXmlProperty(e, QStringLiteral("kdenlive:originalurl"), movedOriginal);
if (!QFile::exists(producerResource)) {
Xml::setXmlProperty(e, QStringLiteral("resource"), movedOriginal);
}
resourceFixed = true;
if (proxyFound) {
return QString();
......
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