Commit 1942c057 authored by David Jarvie's avatar David Jarvie
Browse files

Fix events with reminder alarms not triggering

BUG:440200
parent 1b00e74c
Pipeline #72085 passed with stage
in 4 minutes and 41 seconds
......@@ -2146,7 +2146,7 @@ void KAEventPrivate::setReminder(int minutes, bool onceOnly)
--mAlarmCount;
}
mReminderMinutes = minutes;
mReminderActive = minutes ? ACTIVE_REMINDER : NO_REMINDER;
mReminderActive = minutes > 0 ? ACTIVE_REMINDER : NO_REMINDER;
mReminderOnceOnly = onceOnly;
mReminderAfterTime = DateTime();
mTriggerChanged = true;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment