author | zecke <zecke> | 2003-02-15 13:55:04 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-02-15 13:55:04 (UTC) |
commit | 4049351d6bd48c8e5866f3bc047f567dfe4b35d6 (patch) (unidiff) | |
tree | 738c8375b87976e6b905b42d404f78b6cc48966f | |
parent | b50692ba650418aa06cbd2662b4ff698c7d3f961 (diff) | |
download | opie-4049351d6bd48c8e5866f3bc047f567dfe4b35d6.zip opie-4049351d6bd48c8e5866f3bc047f567dfe4b35d6.tar.gz opie-4049351d6bd48c8e5866f3bc047f567dfe4b35d6.tar.bz2 |
clear before reloading
-rw-r--r-- | libopie/pim/otodoaccessxml.cpp | 1 | ||||
-rw-r--r-- | libopie2/opiepim/backend/otodoaccessxml.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libopie/pim/otodoaccessxml.cpp b/libopie/pim/otodoaccessxml.cpp index 21f93a0..c3416cb 100644 --- a/libopie/pim/otodoaccessxml.cpp +++ b/libopie/pim/otodoaccessxml.cpp | |||
@@ -164,6 +164,7 @@ bool OTodoAccessXML::load() { | |||
164 | return true; | 164 | return true; |
165 | } | 165 | } |
166 | bool OTodoAccessXML::reload() { | 166 | bool OTodoAccessXML::reload() { |
167 | m_events.clear(); | ||
167 | return load(); | 168 | return load(); |
168 | } | 169 | } |
169 | bool OTodoAccessXML::save() { | 170 | bool OTodoAccessXML::save() { |
diff --git a/libopie2/opiepim/backend/otodoaccessxml.cpp b/libopie2/opiepim/backend/otodoaccessxml.cpp index 21f93a0..c3416cb 100644 --- a/libopie2/opiepim/backend/otodoaccessxml.cpp +++ b/libopie2/opiepim/backend/otodoaccessxml.cpp | |||
@@ -164,6 +164,7 @@ bool OTodoAccessXML::load() { | |||
164 | return true; | 164 | return true; |
165 | } | 165 | } |
166 | bool OTodoAccessXML::reload() { | 166 | bool OTodoAccessXML::reload() { |
167 | m_events.clear(); | ||
167 | return load(); | 168 | return load(); |
168 | } | 169 | } |
169 | bool OTodoAccessXML::save() { | 170 | bool OTodoAccessXML::save() { |