diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-27 23:01:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-27 23:01:53 +0000 |
commit | cfa6b4114cea52b167caaaeb417f98f83edd690f (patch) | |
tree | 5fb46adfe9f1caf37e2716e79b148176b09574ab /korganizer | |
parent | a3e46fcf743ccdac7c2461658898ca254bf64dd6 (diff) | |
download | tdepim-cfa6b4114cea52b167caaaeb417f98f83edd690f.tar.gz tdepim-cfa6b4114cea52b167caaaeb417f98f83edd690f.zip |
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
Diffstat (limited to 'korganizer')
-rw-r--r-- | korganizer/koagendaview.cpp | 2 | ||||
-rw-r--r-- | korganizer/komonthview.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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() ); |