summaryrefslogtreecommitdiffstats
path: root/src/formatimporter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/formatimporter.cpp')
-rw-r--r--src/formatimporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/formatimporter.cpp b/src/formatimporter.cpp
index 1d203ca..672695c 100644
--- a/src/formatimporter.cpp
+++ b/src/formatimporter.cpp
@@ -219,14 +219,14 @@ TQDomElement FormatImporter::importBasket(const TQString &folderName)
XMLWork::addElement(*document, e, "tags", (isChecked ? "todo_done" : "todo_unchecked"));
}
// Import annotations as folded groups:
- TQDomElement tqparentE = column;
+ TQDomElement parentE = column;
TQString annotations = XMLWork::getElementText(e, "annotations", "");
if (!annotations.isEmpty()) {
TQDomElement annotGroup = document->createElement("group");
column.insertBefore(annotGroup, e);
annotGroup.setAttribute("folded", "true");
annotGroup.appendChild(e);
- tqparentE = annotGroup;
+ parentE = annotGroup;
// Create the text note and add it to the DOM tree:
TQDomElement annotNote = document->createElement("note");
annotNote.setAttribute("type", "text");
@@ -271,7 +271,7 @@ TQDomElement FormatImporter::importBasket(const TQString &folderName)
}
// Add the element to the DOM:
TQDomElement launcherElem = document->createElement("note");
- tqparentE.insertBefore(launcherElem, e);
+ parentE.insertBefore(launcherElem, e);
launcherElem.setAttribute("type", "launcher");
XMLWork::addElement(*document, launcherElem, "content", launcherFileName);
}