summaryrefslogtreecommitdiffabout
path: root/korganizer/koeventviewer.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koeventviewer.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeventviewer.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/korganizer/koeventviewer.cpp b/korganizer/koeventviewer.cpp
index c8c2f28..6315827 100644
--- a/korganizer/koeventviewer.cpp
+++ b/korganizer/koeventviewer.cpp
@@ -283,4 +283,5 @@ void KOEventViewer::appendEvent(Event *event, int mode )
if ( mode == 0 ) {
addTag("h2",deTag(event->summary()));
+ formatReadOnly(event);
}
else {
@@ -297,4 +298,5 @@ void KOEventViewer::appendEvent(Event *event, int mode )
addTag("h2",i18n( "Remote: " ) +deTag(event->summary()));
}
+ formatReadOnly(event);
addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) );
if ( mColorMode )
@@ -389,5 +391,4 @@ void KOEventViewer::appendEvent(Event *event, int mode )
formatCategories(event);
- formatReadOnly(event);
formatAttendees(event);
@@ -429,6 +430,8 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
bool shortDate = KOPrefs::instance()->mShortDateInViewer;
bool wideScreen = ( QApplication::desktop()->width() >= 640 );
- if (mode == 0 )
+ if (mode == 0 ) {
addTag("h2",deTag(event->summary()));
+ formatReadOnly(event);
+ }
else {
if ( mColorMode == 1 ) {
@@ -443,4 +446,5 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
addTag("h2",i18n( "Remote: " ) +deTag(event->summary()));
}
+ formatReadOnly(event);
addTag("h3",i18n( "Last modified: " ) + KGlobal::locale()->formatDateTime(event->lastModified(),shortDate, true ) );
if ( mColorMode )
@@ -504,5 +508,4 @@ void KOEventViewer::appendTodo(Todo *event, int mode )
formatCategories(event);
- formatReadOnly(event);
formatAttendees(event);