summaryrefslogtreecommitdiff
authorzecke <zecke>2004-07-17 17:33:39 (UTC)
committer zecke <zecke>2004-07-17 17:33:39 (UTC)
commitb822cb8e0f2b1adc970eee9e40935adaf530e41b (patch) (side-by-side diff)
treef42fe5d6144df85b35a7e1c8d008f28ca2532b1f
parent0637a8d3c60bf4da6efb6c26edecfe613919c623 (diff)
downloadopie-b822cb8e0f2b1adc970eee9e40935adaf530e41b.zip
opie-b822cb8e0f2b1adc970eee9e40935adaf530e41b.tar.gz
opie-b822cb8e0f2b1adc970eee9e40935adaf530e41b.tar.bz2
Allow the deletions of all events
This is the fix posted to the MailingList
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp b/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp
index 2ff36e3..107c178 100644
--- a/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp
+++ b/libopie2/opiepim/backend/odatebookaccessbackend_xml.cpp
@@ -303,17 +303,17 @@ bool ODateBookAccessBackend_XML::add( const OPimEvent& ev ) {
m_rep.insert( ev.uid(), ev );
else
m_raw.insert( ev.uid(), ev );
return true;
}
bool ODateBookAccessBackend_XML::remove( int uid ) {
m_changed = true;
- m_rep.remove( uid );
+ m_raw.remove( uid );
m_rep.remove( uid );
return true;
}
bool ODateBookAccessBackend_XML::replace( const OPimEvent& ev ) {
replace( ev.uid() ); // ??? Shouldn't this be "remove( ev.uid() ) ??? (eilers)
return add( ev );
}