summaryrefslogtreecommitdiff
authorzecke <zecke>2002-04-18 21:00:46 (UTC)
committer zecke <zecke>2002-04-18 21:00:46 (UTC)
commit7715e61aa7874b592bac6158a400d11278a42092 (patch) (unidiff)
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
@@ -64,6 +64,10 @@ public:
64 XMLElement *element = root->firstChild(); 64 XMLElement *element = root->firstChild();
65 element = element->firstChild(); 65 element = element->firstChild();
66 while( element ){ 66 while( element ){
67 if( element->tagName() != QString::fromLatin1("Task") ){
68 element = element->nextChild();
69 continue;
70 }
67 qWarning("ToDoDB::load element tagName() : %s", element->tagName().latin1() ); 71 qWarning("ToDoDB::load element tagName() : %s", element->tagName().latin1() );
68 QString dummy; 72 QString dummy;
69 ToDoEvent event; 73 ToDoEvent event;