From cfa6b4114cea52b167caaaeb417f98f83edd690f Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 27 Aug 2010 23:01:53 +0000 Subject: Initial (i.e. read only) support for RECURRENCE-ID modified incidence series. Write support requires further debugging and/or compliance checks with respect to Zimbra; there is no obvious reason why it should not be working but Zimbra fails with 409 when saving. User interface support is mostly complete, with event links being tracked across deletes. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1168937 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/koagendaview.cpp | 2 +- korganizer/komonthview.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'korganizer') diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 256c4d0dd..e45493ab2 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -1170,7 +1170,7 @@ void KOAgendaView::changeIncidenceDisplayAdded( Incidence *incidence ) for( dit = mSelectedDates.begin(); dit != mSelectedDates.end(); ++dit ) { curDate = *dit; // FIXME: This breaks with recurring multi-day events! - if ( incidence->recursOn( curDate ) ) { + if ( incidence->recursOn( curDate, calendar() ) ) { insertIncidence( incidence, curDate ); } } diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index f54a6a183..85d9049b6 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -970,7 +970,7 @@ void KOMonthView::changeIncidenceDisplayAdded( Incidence *incidence, MonthViewCe if ( incidence->doesRecur() ) { for ( uint i = 0; i < mCells.count(); ++i ) { - if ( incidence->recursOn( mCells[i]->date() ) ) { + if ( incidence->recursOn( mCells[i]->date(), calendar() ) ) { // handle multiday events int length = gdv.startDate().daysTo( gdv.endDate().addSecs( floats ? 0 : -1 ).date() ); -- cgit v1.2.1