Fix possibly incorrect rendering on Windows (proxy used when they shouldn't)

CCBUG: 429905
parent 2b71bdec
......@@ -1294,7 +1294,7 @@ void RenderWidget::prepareRendering(bool delayedRendering, const QString &chapte
}
// replace proxy clips with originals
QMap<QString, QString> proxies = pCore->projectItemModel()->getProxies(pCore->currentDoc()->documentRoot());
QMap<QString, QString> proxies = pCore->projectItemModel()->getProxies(root);
QDomNodeList producers = doc.elementsByTagName(QStringLiteral("producer"));
QString producerResource;
......
......@@ -1299,7 +1299,7 @@ void KdenliveDoc::loadDocumentProperties()
QDomElement baseElement = m_document.documentElement();
m_documentRoot = baseElement.attribute(QStringLiteral("root"));
if (!m_documentRoot.isEmpty()) {
m_documentRoot = QDir::cleanPath(m_documentRoot) + QDir::separator();
m_documentRoot = QDir::cleanPath(m_documentRoot) + QLatin1Char('/');
}
if (!list.isEmpty()) {
QDomElement pl = list.at(0).toElement();
......
Markdown is supported
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