Index: src/kontactplugin/specialdates/sdsummarywidget.cpp =================================================================== --- src/kontactplugin/specialdates/sdsummarywidget.cpp +++ src/kontactplugin/specialdates/sdsummarywidget.cpp @@ -239,6 +239,9 @@ entry.type = IncidenceTypeContact; entry.category = CategoryBirthday; dateDiff(birthday, entry.daysTo, entry.yearsOld); + 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; @@ -247,6 +250,7 @@ } } } + } // Carry on. createLabels(); }