-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 @@ -163,8 +163,9 @@ bool OTodoAccessXML::load() { qWarning("counts %d records loaded!", m_events.count() ); return true; } bool OTodoAccessXML::reload() { + m_events.clear(); return load(); } bool OTodoAccessXML::save() { // qWarning("saving"); 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 @@ -163,8 +163,9 @@ bool OTodoAccessXML::load() { qWarning("counts %d records loaded!", m_events.count() ); return true; } bool OTodoAccessXML::reload() { + m_events.clear(); return load(); } bool OTodoAccessXML::save() { // qWarning("saving"); |