-rw-r--r-- | korganizer/calendarview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/korganizer/calendarview.cpp b/korganizer/calendarview.cpp index 3e0a27d..e4a11f5 100644 --- a/korganizer/calendarview.cpp +++ b/korganizer/calendarview.cpp | |||
@@ -1132,4 +1132,6 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int | |||
1132 | int delFut = 0; | 1132 | int delFut = 0; |
1133 | int remRem = 0; | ||
1133 | if ( mSyncManager->mWriteBackInFuture ) { | 1134 | if ( mSyncManager->mWriteBackInFuture ) { |
1134 | er = remote->rawIncidences(); | 1135 | er = remote->rawIncidences(); |
1136 | remRem = er.count(); | ||
1135 | inR = er.first(); | 1137 | inR = er.first(); |
@@ -1177,3 +1179,3 @@ bool CalendarView::synchronizeCalendar( Calendar* local, Calendar* remote, int | |||
1177 | if ( delFut ) { | 1179 | if ( delFut ) { |
1178 | delmess.sprintf( i18n("%d items skipped on remote,\nbecause they are in the past or\nmore than %d weeks in the future.\n"),delFut, mSyncManager->mWriteBackInFuture ); | 1180 | delmess.sprintf( i18n("%d items skipped on remote,\nbecause they are in the past or\nmore than %d weeks in the future.\nAfter skipping, remote has\n%d calendar/todo items."), delFut,mSyncManager->mWriteBackInFuture, remRem-delFut); |
1179 | mes += delmess; | 1181 | mes += delmess; |