From 8ce63b1df3d811bb203a9e88cb23ea9a70216c35 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 29 Aug 2010 18:08:07 +0000 Subject: * Fixed crash when modifying single instance of recurring meeeting in agenda view * Allow CalDAV tasks read/write to continue even if events read/write failed * Documentation cleanup git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1169577 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/calendar.cpp | 2 ++ libkcal/calendarresources.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'libkcal') diff --git a/libkcal/calendar.cpp b/libkcal/calendar.cpp index 0be3dffc..65afb77e 100644 --- a/libkcal/calendar.cpp +++ b/libkcal/calendar.cpp @@ -328,6 +328,8 @@ Incidence *Calendar::dissociateOccurrence( Incidence *incidence, TQDate date, Incidence *newInc = incidence->clone(); newInc->recreate(); + newInc->setHasRecurrenceID(false); + newInc->setRecurrenceID(QString()); newInc->setRelatedTo( incidence ); Recurrence *recur = newInc->recurrence(); if ( single ) { diff --git a/libkcal/calendarresources.h b/libkcal/calendarresources.h index 1858a85b..9d343634 100644 --- a/libkcal/calendarresources.h +++ b/libkcal/calendarresources.h @@ -177,7 +177,7 @@ class LIBKCAL_EXPORT CalendarResources : /** * Reloads all incidences from all resources. - * @par tz The timezone to set. + * @param tz The timezone to set. * @return success or failure */ bool reload( const TQString &tz ); @@ -293,7 +293,7 @@ class LIBKCAL_EXPORT CalendarResources : /** Add a Resource to the Calendar. This method must be public, because in-process added Resources - do not emit the corresponding signal, so this methodd has to be + do not emit the corresponding signal, so this method has to be called manually! @param resource is a pointer to the ResourceCalendar to add. -- cgit v1.2.3