1030
1030
// has already expired, so we must adjust it.
1031
1031
if (event.nextOccurrence(now, mAlarmDateTime, KAEvent::ALLOW_FOR_REPETITION) == KAEvent::NO_OCCURRENCE)
1036
1036
if (event.workTimeOnly() && !event.nextTrigger(KAEvent::DISPLAY_TRIGGER).isValid())
1038
if (KMessageBox::warningContinueCancel(this, i18nc("@info", "The alarm will never occur during working hours"))
1038
if (KAMessageBox::warningContinueCancel(this, i18nc("@info", "The alarm will never occur during working hours"))
1039
1039
!= KMessageBox::Continue)