-rw-r--r-- | korganizer/koeventviewer.cpp | 9 | ||||
-rw-r--r-- | korganizer/komonthview.cpp | 4 |
2 files changed, 6 insertions, 7 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); diff --git a/korganizer/komonthview.cpp b/korganizer/komonthview.cpp index 475bb4a..cba85fa 100644 --- a/korganizer/komonthview.cpp +++ b/korganizer/komonthview.cpp @@ -316,6 +316,4 @@ void MonthViewItem::paint(QPainter *p) bool sel = selected(); #endif - - int heihei = height( listBox () ); int x = 1; @@ -338,5 +336,4 @@ void MonthViewItem::paint(QPainter *p) x += size + 1; } - if ( KOPrefs::instance()->mMonthShowIcons ) { if ( mInfo ) { @@ -378,5 +375,4 @@ void MonthViewItem::paint(QPainter *p) if ( mMultiday == 1 ) { // p->fillRect ( x, yyy-sizeM/2+1, sizeM/2, size, QBrush ( QBrush::SolidPattern ) ); - p->drawLine ( x+1, yyy-sizeM/2, x+1, yyy+sizeM/2 ); } |