author | zautrix <zautrix> | 2005-04-17 17:46:56 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-04-17 17:46:56 (UTC) |
commit | 0ff0dca7ccb94ebb1381351e4e4081fe0bac500a (patch) (unidiff) | |
tree | 72af4e8ebfa3ebc3f4d475e762070ed39778dc9e | |
parent | e3e76014e70643b0828f30f5c5277e212495d37c (diff) | |
download | kdepimpi-0ff0dca7ccb94ebb1381351e4e4081fe0bac500a.zip kdepimpi-0ff0dca7ccb94ebb1381351e4e4081fe0bac500a.tar.gz kdepimpi-0ff0dca7ccb94ebb1381351e4e4081fe0bac500a.tar.bz2 |
fixes
-rw-r--r-- | korganizer/kolistview.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index a1bf9ff..bbf83d9 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -107,27 +107,33 @@ bool ListItemVisitor::visit(Event *e) | |||
107 | end = KGlobal::locale()->formatDate(de,true); | 107 | end = KGlobal::locale()->formatDate(de,true); |
108 | } | 108 | } |
109 | 109 | ||
110 | } | 110 | } |
111 | if ( ! ok ) { | 111 | if ( ! ok ) { |
112 | start =e->dtStartDateStr(); | 112 | start =e->dtStartDateStr(); |
113 | end = e->dtEndDateStr(); | 113 | end = e->dtEndDateStr(); |
114 | ds = e->dtStart().date(); | 114 | ds = e->dtStart().date(); |
115 | de = e->dtEnd().date(); | 115 | de = e->dtEnd().date(); |
116 | } | 116 | } |
117 | mItem->setText(0,e->summary()); | 117 | mItem->setText(0,e->summary()); |
118 | mItem->setText(1,start); | 118 | mItem->setText(1,start); |
119 | mItem->setText(2,e->dtStartTimeStr()); | 119 | if ( e->doesFloat() ) |
120 | mItem->setText(2,"---"); | ||
121 | else | ||
122 | mItem->setText(2,e->dtStartTimeStr()); | ||
120 | mItem->setText(3,end); | 123 | mItem->setText(3,end); |
121 | mItem->setText(4,e->dtEndTimeStr()); | 124 | if ( e->doesFloat() ) |
125 | mItem->setText(4,"---"); | ||
126 | else | ||
127 | mItem->setText(4,e->dtEndTimeStr()); | ||
122 | if ( e->isAlarmEnabled() ) { | 128 | if ( e->isAlarmEnabled() ) { |
123 | mItem->setText(5,e->alarms().first()->offsetText() ); | 129 | mItem->setText(5,e->alarms().first()->offsetText() ); |
124 | } else { | 130 | } else { |
125 | mItem->setText(5, i18n("No")); | 131 | mItem->setText(5, i18n("No")); |
126 | } | 132 | } |
127 | mItem->setText(6, e->recurrence()->recurrenceText()); | 133 | mItem->setText(6, e->recurrence()->recurrenceText()); |
128 | if( ! e->doesRecur() ) | 134 | if( ! e->doesRecur() ) |
129 | mItem->setSortKey( 6, "-" ); | 135 | mItem->setSortKey( 6, "-" ); |
130 | mItem->setText(7,"---"); | 136 | mItem->setText(7,"---"); |
131 | mItem->setText(8,"---"); | 137 | mItem->setText(8,"---"); |
132 | mItem->setText(9, e->cancelled() ? i18n("Yes") : i18n("No")); | 138 | mItem->setText(9, e->cancelled() ? i18n("Yes") : i18n("No")); |
133 | mItem->setText(10,e->categoriesStr()); | 139 | mItem->setText(10,e->categoriesStr()); |