Commit fabe8467 authored by David Faure's avatar David Faure
Browse files

korgac: re-add 10 days check

Summary: The previous commit was overzealous

Reviewers: winterz

Reviewed By: winterz

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D29677
parent 68a022fd
......@@ -235,6 +235,11 @@ void KOAlarmClient::createReminder(const Akonadi::Item &aitem, const QDateTime &
return;
}
if (remindAtDate.addDays(10) < mLastChecked) {
// ignore reminders more than 10 days old
return;
}
createDialog();
mDialog->addIncidence(aitem, remindAtDate, displayText);
......
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