From 85bdc33419eef0ffa9f00eb7222944518fe39b6c Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 15 Apr 2005 20:51:58 +0000 Subject: fixxx --- (limited to 'libkcal/calendarlocal.cpp') diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp index 00a43e5..e75df70 100644 --- a/libkcal/calendarlocal.cpp +++ b/libkcal/calendarlocal.cpp @@ -82,6 +82,10 @@ bool CalendarLocal::save( const QString &fileName, CalFormat *format ) void CalendarLocal::close() { + + Todo * i; + for( i = mTodoList.first(); i; i = mTodoList.next() ) i->setRunning(false); + mEventList.setAutoDelete( true ); mTodoList.setAutoDelete( true ); mJournalList.setAutoDelete( false ); -- cgit v0.9.0.2