summaryrefslogtreecommitdiff
path: root/library/datebookdb.cpp
authorzecke <zecke>2004-09-12 20:43:22 (UTC)
committer zecke <zecke>2004-09-12 20:43:22 (UTC)
commit0f705db7c338e9642294823333e5f4410aa0573f (patch) (unidiff)
tree98e35fc5d53b0730ebeb49baaff391b5cd28386f /library/datebookdb.cpp
parent40440f2652c582c108a5236d8b5398dbd6b68b18 (diff)
downloadopie-0f705db7c338e9642294823333e5f4410aa0573f.zip
opie-0f705db7c338e9642294823333e5f4410aa0573f.tar.gz
opie-0f705db7c338e9642294823333e5f4410aa0573f.tar.bz2
Delete the d pointer
Diffstat (limited to 'library/datebookdb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/datebookdb.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/library/datebookdb.cpp b/library/datebookdb.cpp
index e4ec2bf..165a637 100644
--- a/library/datebookdb.cpp
+++ b/library/datebookdb.cpp
@@ -387,12 +387,15 @@ DateBookDB::DateBookDB()
387 387
388DateBookDB::~DateBookDB() 388DateBookDB::~DateBookDB()
389{ 389{
390 save(); 390 save();
391 eventList.clear(); 391 eventList.clear();
392 repeatEvents.clear(); 392 repeatEvents.clear();
393
394 delete d;
395 d=0;
393} 396}
394 397
395 398
396//#### Why is this code duplicated in getEffectiveEvents ????? 399//#### Why is this code duplicated in getEffectiveEvents ?????
397//#### Addendum. Don't use this function, lets faze it out if we can. 400//#### Addendum. Don't use this function, lets faze it out if we can.
398QValueList<Event> DateBookDB::getEvents( const QDate &from, const QDate &to ) 401QValueList<Event> DateBookDB::getEvents( const QDate &from, const QDate &to )