summaryrefslogtreecommitdiff
path: root/libopie/tododb.cpp
authorzecke <zecke>2002-03-19 19:20:30 (UTC)
committer zecke <zecke>2002-03-19 19:20:30 (UTC)
commitebbdb5c4f1c01881bd09f02d9efaa434a073a788 (patch) (side-by-side diff)
tree9cf900b90df734248ec26d7860b427c397d148f9 /libopie/tododb.cpp
parentc23db0c35b77cc1656ac8822ca948e73c50e8ee6 (diff)
downloadopie-ebbdb5c4f1c01881bd09f02d9efaa434a073a788.zip
opie-ebbdb5c4f1c01881bd09f02d9efaa434a073a788.tar.gz
opie-ebbdb5c4f1c01881bd09f02d9efaa434a073a788.tar.bz2
Make multiple backends possible
Diffstat (limited to 'libopie/tododb.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/tododb.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopie/tododb.cpp b/libopie/tododb.cpp
index 91331d0..e440dfc 100644
--- a/libopie/tododb.cpp
+++ b/libopie/tododb.cpp
@@ -138,7 +138,7 @@ ToDoDB::ToDoDB(const QString &fileName = QString::null, ToDoResource *res ){
}
ToDoDB::~ToDoDB()
{
-
+ delete m_res;
}
QValueList<ToDoEvent> ToDoDB::effectiveToDos(const QDate &from, const QDate &to,
bool all )
@@ -199,7 +199,7 @@ QString ToDoDB::fileName()const
}
void ToDoDB::load()
{
-
+ m_todos = m_res->load( m_fileName );
}
bool ToDoDB::save()
{