summaryrefslogtreecommitdiff
path: root/src/xmlparser.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-03-30 12:30:32 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-03-30 12:30:32 +0200
commit802a8b7e4896a12d8eced17b6ee54c7bca02a629 (patch)
tree3dcde553d3f2d9354430a5972e46a544756c46f8 /src/xmlparser.cc
parente2e4a93fe955bdd2de4e5b49974c859c7657d5ff (diff)
Make task_proto use new design.
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;