Commit 60f6b96f authored by Allen Winter's avatar Allen Winter

Merge branch 'Applications/17.08'

parents bfa27948 10fb4e6d
......@@ -239,11 +239,15 @@ void SDSummaryWidget::slotBirthdayJobFinished(KJob *job)
entry.type = IncidenceTypeContact;
entry.category = CategoryBirthday;
dateDiff(birthday, entry.daysTo, entry.yearsOld);
entry.date = birthday;
entry.addressee = addressee;
entry.item = item;
entry.span = 1;
mDates.append(entry);
if (entry.daysTo < mDaysAhead) {
// We need to check the days ahead here because we don't
// filter out Contact Birthdays by mDaysAhead in createLabels().
entry.date = birthday;
entry.addressee = addressee;
entry.item = item;
entry.span = 1;
mDates.append(entry);
}
}
}
}
......
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