author | zautrix <zautrix> | 2005-02-04 22:55:48 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-04 22:55:48 (UTC) |
commit | 53099ae3a9ef02549536dab3dd6870b7a2874284 (patch) (side-by-side diff) | |
tree | d3b46b4a7ecd8c7071533957e4eee50aa75d893b /korganizer | |
parent | 936b4b2aa37e699052a2517dc2d928d717398cf6 (diff) | |
download | kdepimpi-53099ae3a9ef02549536dab3dd6870b7a2874284.zip kdepimpi-53099ae3a9ef02549536dab3dd6870b7a2874284.tar.gz kdepimpi-53099ae3a9ef02549536dab3dd6870b7a2874284.tar.bz2 |
fixxx
-rw-r--r-- | korganizer/kolistview.cpp | 9 | ||||
-rw-r--r-- | korganizer/kolistview.h | 2 |
2 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,4 +358,11 @@ void KOListView::setAlarm() if ( qitem->isSelected() ) { + Incidence* inc = ((KOListViewItem *) qitem)->data(); + if ( inc->type() != "Journal" ) { + if ( inc->type() == "Todo" ) { + if ( ((Todo*)inc)->hasDueDate() ) + sel.append(((KOListViewItem *)qitem)); + } else sel.append(((KOListViewItem *)qitem)); } + } qitem = qitem->nextSibling(); @@ -368,3 +375,2 @@ void KOListView::setAlarm() inc = item->data(); - if ( inc->type() != "Journal" ) { ++count; @@ -402,3 +408,2 @@ void KOListView::setAlarm() } - } temp = item; diff --git a/korganizer/kolistview.h b/korganizer/kolistview.h index 78004fe..bd5bd12 100644 --- a/korganizer/kolistview.h +++ b/korganizer/kolistview.h @@ -70,3 +70,3 @@ class KOAlarmPrefs : public QDialog QWidget *parent = this; - mAlarmButton = new QCheckBox(i18n("Set reminder offset to:"),parent); + mAlarmButton = new QCheckBox(i18n("Set reminder ON with offset to:"),parent); alarmLayout->addWidget(mAlarmButton); |