-rw-r--r-- | libkcal/calendarlocal.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libkcal/calendarlocal.cpp b/libkcal/calendarlocal.cpp index 0eba6a9..52c298b 100644 --- a/libkcal/calendarlocal.cpp +++ b/libkcal/calendarlocal.cpp @@ -243,4 +243,5 @@ void CalendarLocal::removeSyncInfo( QString syncProfile) } else { Event *lse = event( "last-syncEvent-"+ syncProfile); + if ( lse ) deleteIncidence ( lse ); } |