summaryrefslogtreecommitdiff
path: root/src/xmlparser.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmlparser.cc')
-rw-r--r--src/xmlparser.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xmlparser.cc b/src/xmlparser.cc
index 7bc7e0a..97a8bdb 100644
--- a/src/xmlparser.cc
+++ b/src/xmlparser.cc
@@ -75,7 +75,7 @@ void XmlParser::startTag(std::string name, attributes_t &attr) {
task = new task_t();
task->id = atoi(xml_decode(attr["id"]).c_str());
- task->parent_id = atoi(xml_decode(attr["parent_id"]).c_str());
+ // task->parent_id = atoi(xml_decode(attr["parent_id"]).c_str());
}
}
@@ -83,7 +83,7 @@ void XmlParser::startTag(std::string name, attributes_t &attr) {
void XmlParser::endTag(std::string name) {
// printf("end: %s\n", name.c_str());
if (name == "task") {
- if(task) tasklist.insert(*task);
+ // if(task) tasklist.push_back(*task);
}
else if (name == "title") {
if(task) task->title = characterbuf;