-rw-r--r-- | libopie/tododb.cpp | 4 |
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 ){ | |||
138 | } | 138 | } |
139 | ToDoDB::~ToDoDB() | 139 | ToDoDB::~ToDoDB() |
140 | { | 140 | { |
141 | 141 | delete m_res; | |
142 | } | 142 | } |
143 | QValueList<ToDoEvent> ToDoDB::effectiveToDos(const QDate &from, const QDate &to, | 143 | QValueList<ToDoEvent> ToDoDB::effectiveToDos(const QDate &from, const QDate &to, |
144 | bool all ) | 144 | bool all ) |
@@ -199,7 +199,7 @@ QString ToDoDB::fileName()const | |||
199 | } | 199 | } |
200 | void ToDoDB::load() | 200 | void ToDoDB::load() |
201 | { | 201 | { |
202 | 202 | m_todos = m_res->load( m_fileName ); | |
203 | } | 203 | } |
204 | bool ToDoDB::save() | 204 | bool ToDoDB::save() |
205 | { | 205 | { |