-rw-r--r-- | libopie/tododb.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libopie/tododb.cpp b/libopie/tododb.cpp index 4d6711d..c486723 100644 --- a/libopie/tododb.cpp +++ b/libopie/tododb.cpp @@ -64,6 +64,10 @@ public: XMLElement *element = root->firstChild(); element = element->firstChild(); while( element ){ + if( element->tagName() != QString::fromLatin1("Task") ){ + element = element->nextChild(); + continue; + } qWarning("ToDoDB::load element tagName() : %s", element->tagName().latin1() ); QString dummy; ToDoEvent event; |