-rw-r--r-- | korganizer/kolistview.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index d4d9c0f..d0dbb47 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -358,4 +358,11 @@ void KOListView::setAlarm() | |||
358 | if ( qitem->isSelected() ) { | 358 | if ( qitem->isSelected() ) { |
359 | Incidence* inc = ((KOListViewItem *) qitem)->data(); | ||
360 | if ( inc->type() != "Journal" ) { | ||
361 | if ( inc->type() == "Todo" ) { | ||
362 | if ( ((Todo*)inc)->hasDueDate() ) | ||
363 | sel.append(((KOListViewItem *)qitem)); | ||
364 | } else | ||
359 | sel.append(((KOListViewItem *)qitem)); | 365 | sel.append(((KOListViewItem *)qitem)); |
360 | } | 366 | } |
367 | } | ||
361 | qitem = qitem->nextSibling(); | 368 | qitem = qitem->nextSibling(); |
@@ -368,3 +375,2 @@ void KOListView::setAlarm() | |||
368 | inc = item->data(); | 375 | inc = item->data(); |
369 | if ( inc->type() != "Journal" ) { | ||
370 | ++count; | 376 | ++count; |
@@ -402,3 +408,2 @@ void KOListView::setAlarm() | |||
402 | } | 408 | } |
403 | } | ||
404 | temp = item; | 409 | temp = item; |