summaryrefslogtreecommitdiff
path: root/libopie2/opiepim
Side-by-side diff
Diffstat (limited to 'libopie2/opiepim') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp
index e893b38..756f405 100644
--- a/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp
+++ b/libopie2/opiepim/backend/odatebookaccessbackend_sql.cpp
@@ -16,2 +16,5 @@
* $Log$
+ * Revision 1.3 2003/12/22 11:41:39 eilers
+ * Fixing stupid bug, found by sourcode review..
+ *
* Revision 1.2 2003/12/22 10:19:26 eilers
@@ -208,2 +211,3 @@ OEvent ODateBookAccessBackend_SQL::find( int uid ) const{
+// FIXME: Speed up update of uid's..
bool ODateBookAccessBackend_SQL::add( const OEvent& ev )
@@ -246,2 +250,5 @@ bool ODateBookAccessBackend_SQL::add( const OEvent& ev )
}
+
+ // Update list of uid's
+ update();
@@ -250,2 +257,3 @@ bool ODateBookAccessBackend_SQL::add( const OEvent& ev )
+// FIXME: Speed up update of uid's..
bool ODateBookAccessBackend_SQL::remove( int uid )
@@ -263,2 +271,5 @@ bool ODateBookAccessBackend_SQL::remove( int uid )
+ // Update list of uid's
+ update();
+
return true;