Commit 2c303a07 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Port away from KHolidays::HolidayRegion::holidays

parent 362cdd6a
......@@ -44,7 +44,7 @@ void HolidaysEventsPlugin::loadEventsForDateRange(const QDate &startDate, const
QMultiHash<QDate, CalendarEvents::EventData> data;
for (KHolidays::HolidayRegion *region : qAsConst(m_regions)) {
const KHolidays::Holiday::List holidays = region->holidays(startDate, endDate);
const KHolidays::Holiday::List holidays = region->rawHolidaysWithAstroSeasons(startDate, endDate);
for (const KHolidays::Holiday &holiday : holidays) {
CalendarEvents::EventData eventData;
......
Supports Markdown
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