-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 @@ -135,13 +135,13 @@ ToDoDB::ToDoDB(const QString &fileName = QString::null, ToDoResource *res ){ } m_res = res; load(); } ToDoDB::~ToDoDB() { - + delete m_res; } QValueList<ToDoEvent> ToDoDB::effectiveToDos(const QDate &from, const QDate &to, bool all ) { QValueList<ToDoEvent> events; for( QValueList<ToDoEvent>::Iterator it = m_todos.begin(); it!= m_todos.end(); ++it ){ @@ -196,13 +196,13 @@ void ToDoDB::setFileName(const QString &file ) QString ToDoDB::fileName()const { return m_fileName; } void ToDoDB::load() { - + m_todos = m_res->load( m_fileName ); } bool ToDoDB::save() { return m_res->save( m_fileName, m_todos ); } |