summaryrefslogtreecommitdiffabout
path: root/korganizer/kolistview.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/kolistview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kolistview.cpp10
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
@@ -116,9 +116,15 @@ bool ListItemVisitor::visit(Event *e)
}
mItem->setText(0,e->summary());
mItem->setText(1,start);
- mItem->setText(2,e->dtStartTimeStr());
+ if ( e->doesFloat() )
+ mItem->setText(2,"---");
+ else
+ mItem->setText(2,e->dtStartTimeStr());
mItem->setText(3,end);
- mItem->setText(4,e->dtEndTimeStr());
+ if ( e->doesFloat() )
+ mItem->setText(4,"---");
+ else
+ mItem->setText(4,e->dtEndTimeStr());
if ( e->isAlarmEnabled() ) {
mItem->setText(5,e->alarms().first()->offsetText() );
} else {