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

Fix transparent rendering

parent ebed22b1
...@@ -1479,7 +1479,7 @@ void RenderWidget::generateRenderFiles(QDomDocument doc, const QString &playlist ...@@ -1479,7 +1479,7 @@ void RenderWidget::generateRenderFiles(QDomDocument doc, const QString &playlist
if (prod.attribute(QStringLiteral("id")) == QStringLiteral("black_track")) { if (prod.attribute(QStringLiteral("id")) == QStringLiteral("black_track")) {
auto props = prod.elementsByTagName(QStringLiteral("property")); auto props = prod.elementsByTagName(QStringLiteral("property"));
for (int j = 0; j < props.count(); ++j) { for (int j = 0; j < props.count(); ++j) {
auto prop = props.at(i).toElement(); auto prop = props.at(j).toElement();
if (prop.attribute(QStringLiteral("name")) == QStringLiteral("resource")) { if (prop.attribute(QStringLiteral("name")) == QStringLiteral("resource")) {
prop.firstChild().setNodeValue(QStringLiteral("transparent")); prop.firstChild().setNodeValue(QStringLiteral("transparent"));
break; break;
......
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