-rw-r--r-- | libkcal/kincidenceformatter.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libkcal/kincidenceformatter.cpp b/libkcal/kincidenceformatter.cpp index d1ace4f..9359fad 100644 --- a/libkcal/kincidenceformatter.cpp +++ b/libkcal/kincidenceformatter.cpp @@ -54,2 +54,3 @@ void KIncidenceFormatter::setEvent(Event *event) addTag("h3",deTag(event->summary())); + formatReadOnly(event); } @@ -68,2 +69,3 @@ void KIncidenceFormatter::setEvent(Event *event) } + formatReadOnly(event); addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) ); @@ -145,3 +147,2 @@ void KIncidenceFormatter::setEvent(Event *event) - formatReadOnly(event); formatAttendees(event); @@ -180,4 +181,6 @@ void KIncidenceFormatter::setTodo(Todo *event ) bool shortDate = true; - if (mode == 0 ) + if (mode == 0 ) { addTag("h3",deTag(event->summary())); + formatReadOnly(event); + } else { @@ -194,2 +197,3 @@ void KIncidenceFormatter::setTodo(Todo *event ) } + formatReadOnly(event); addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) ); @@ -249,3 +253,2 @@ void KIncidenceFormatter::setTodo(Todo *event ) - formatReadOnly(event); formatAttendees(event); |