summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-06-22 08:17:33 +0200
committerMontel Laurent <[email protected]>2017-06-22 08:17:33 +0200
commit66f9a506b85e2b1526f53be5eaf471f919aa3de9 (patch)
tree9c9d1f5b31d763832e55cb880949254e96f3a4a4
parent116b4ef81a6a0fdf10169a8af9e2f13a9b1ce28c (diff)
Add define for removing old code
-rw-r--r--src/ksieveui/managescriptsjob/parseuserscriptjob.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ksieveui/managescriptsjob/parseuserscriptjob.cpp b/src/ksieveui/managescriptsjob/parseuserscriptjob.cpp
index 165138a..eaf5d44 100644
--- a/src/ksieveui/managescriptsjob/parseuserscriptjob.cpp
+++ b/src/ksieveui/managescriptsjob/parseuserscriptjob.cpp
@@ -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();