From 6946f6ab0ee6eeafee0c8ff5d33fffc0826c7452 Mon Sep 17 00:00:00 2001 From: zautrix Date: Sat, 22 Jan 2005 10:18:16 +0000 Subject: some small fixes --- (limited to 'libkcal/calendarlocal.cpp') diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp index 12294c0..0eba6a9 100644 --- a/libkcal/calendarlocal.cpp +++ b/libkcal/calendarlocal.cpp @@ -202,8 +202,8 @@ void CalendarLocal::deleteTodo( Todo *todo ) { // Handle orphaned children if ( mUndoIncidence ) delete mUndoIncidence; - mUndoIncidence = todo->clone(); removeRelations( todo ); + mUndoIncidence = todo->clone(); if ( mTodoList.removeRef( todo ) ) { setModified( true ); -- cgit v0.9.0.2