Members of the KDE Community are recommended to subscribe to the kde-community mailing list at 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( > 0) {
qDebug() << "Warning: duplicate custom definition of transition" << << "found. Only last one will be considered";
QDomDocument doc;
QDomElement e = doc.createElement("root");
e.appendChild(doc.importNode(currentNode, true));
result.xml = doc.documentElement();
result.xml = currentNode.toElement();
customAssets[] = 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