summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-18 21:00:46 (UTC)
committer zecke <zecke>2002-04-18 21:00:46 (UTC)
commit7715e61aa7874b592bac6158a400d11278a42092 (patch) (side-by-side diff)
treee4660384ccb2738d38288deac43b9b625ba41fe2
parent877e3d4899013687a0a16caefadabf86703bcf27 (diff)
downloadopie-7715e61aa7874b592bac6158a400d11278a42092.zip
opie-7715e61aa7874b592bac6158a400d11278a42092.tar.gz
opie-7715e61aa7874b592bac6158a400d11278a42092.tar.bz2
handle the importing( first reading ) of
Zaurus format correclty TodoList and Today should be fine now
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/tododb.cpp4
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
@@ -65,4 +65,8 @@ public:
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;