Commit 66f9a506 authored by Laurent Montel's avatar Laurent Montel 😁

Add define for removing old code

parent 116b4ef8
......@@ -140,7 +140,7 @@ QStringList ParseUserScriptJob::extractActiveScript(const QString &doc)
}
}
}
#if 0
#ifdef REMOVE_QDOMELEMENT
QDomElement docElem = doc.documentElement();
QDomNode n = docElem.firstChild();
while (!n.isNull()) {
......@@ -176,7 +176,7 @@ QString ParseUserScriptJob::loadInclude()
scriptName = reader.readElementText();
}
}
#if 0
#ifdef REMOVE_QDOMELEMENT
QDomNode node = element.firstChild();
while (!node.isNull()) {
QDomElement e = node.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