summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/pim/otodoaccessxml.cpp1
-rw-r--r--libopie2/opiepim/backend/otodoaccessxml.cpp1
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
@@ -159,16 +159,17 @@ bool OTodoAccessXML::load() {
159 } 159 }
160 160
161 munmap(map_addr, attribut.st_size ); 161 munmap(map_addr, attribut.st_size );
162 162
163 qWarning("counts %d records loaded!", m_events.count() ); 163 qWarning("counts %d records loaded!", m_events.count() );
164 return true; 164 return true;
165} 165}
166bool OTodoAccessXML::reload() { 166bool OTodoAccessXML::reload() {
167 m_events.clear();
167 return load(); 168 return load();
168} 169}
169bool OTodoAccessXML::save() { 170bool OTodoAccessXML::save() {
170// qWarning("saving"); 171// qWarning("saving");
171 if (!m_opened || !m_changed ) { 172 if (!m_opened || !m_changed ) {
172// qWarning("not saving"); 173// qWarning("not saving");
173 return true; 174 return true;
174 } 175 }
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
@@ -159,16 +159,17 @@ bool OTodoAccessXML::load() {
159 } 159 }
160 160
161 munmap(map_addr, attribut.st_size ); 161 munmap(map_addr, attribut.st_size );
162 162
163 qWarning("counts %d records loaded!", m_events.count() ); 163 qWarning("counts %d records loaded!", m_events.count() );
164 return true; 164 return true;
165} 165}
166bool OTodoAccessXML::reload() { 166bool OTodoAccessXML::reload() {
167 m_events.clear();
167 return load(); 168 return load();
168} 169}
169bool OTodoAccessXML::save() { 170bool OTodoAccessXML::save() {
170// qWarning("saving"); 171// qWarning("saving");
171 if (!m_opened || !m_changed ) { 172 if (!m_opened || !m_changed ) {
172// qWarning("not saving"); 173// qWarning("not saving");
173 return true; 174 return true;
174 } 175 }