-rw-r--r-- | korganizer/kolistview.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/korganizer/kolistview.cpp b/korganizer/kolistview.cpp index d4d9c0f..d0dbb47 100644 --- a/korganizer/kolistview.cpp +++ b/korganizer/kolistview.cpp | |||
@@ -358,3 +358,10 @@ void KOListView::setAlarm() | |||
358 | if ( qitem->isSelected() ) { | 358 | if ( qitem->isSelected() ) { |
359 | sel.append(((KOListViewItem *)qitem)); | 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 | ||
365 | sel.append(((KOListViewItem *)qitem)); | ||
366 | } | ||
360 | } | 367 | } |
@@ -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; |