-rw-r--r-- | korganizer/koagendaitem.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp index c9e307f..1801d7e 100644 --- a/korganizer/koagendaitem.cpp +++ b/korganizer/koagendaitem.cpp | |||
@@ -551,2 +551,5 @@ void KOAgendaItem::computeText() | |||
551 | if ( mIncidence->dtStart().date().addDays(3) < mIncidence->dtEnd().date() ) { | 551 | if ( mIncidence->dtStart().date().addDays(3) < mIncidence->dtEnd().date() ) { |
552 | if ( mIncidence->doesRecur() ) { | ||
553 | mDisplayedText += " (" + mIncidence->recurrence()->recurrenceText() + ")"; | ||
554 | } else { | ||
552 | mDisplayedText += ": " +KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtStart().date(), true) + " - " + KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtEnd().date(), true) ; | 555 | mDisplayedText += ": " +KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtStart().date(), true) + " - " + KGlobal::locale()->formatDate((static_cast<Event*>(mIncidence))->dtEnd().date(), true) ; |
@@ -554,3 +557,3 @@ void KOAgendaItem::computeText() | |||
554 | } | 557 | } |
555 | 558 | } | |
556 | } | 559 | } |