Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Remove unnecessary duplication from previous commit

parent 0cdc208d
......@@ -79,11 +79,7 @@ void TransitionsRepository::parseCustomAssetFile(const QString &file_name, std::
if (customAssets.count(result.id) > 0) {
qDebug() << "Warning: duplicate custom definition of transition" << result.id << "found. Only last one will be considered";
}
QDomDocument doc;
QDomElement e = doc.createElement("root");
doc.appendChild(e);
e.appendChild(doc.importNode(currentNode, true));
result.xml = doc.documentElement();
result.xml = currentNode.toElement();
customAssets[result.id] = result;
}
}
......
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