Commit 02b52053 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix clazy warning

parent 4a4ce8de
Pipeline #77694 passed with stage
in 13 minutes and 31 seconds
......@@ -70,7 +70,7 @@ SummaryEventInfo::SummaryEventInfo()
}
/**static*/
SummaryEventInfo::List SummaryEventInfo::eventsForRange(const QDate &start, const QDate &end, const Akonadi::ETMCalendar::Ptr &calendar)
SummaryEventInfo::List SummaryEventInfo::eventsForRange(QDate start, QDate end, const Akonadi::ETMCalendar::Ptr &calendar)
{
KCalendarCore::Event::List allEvents = calendar->events();
KCalendarCore::Event::List events;
......@@ -261,7 +261,7 @@ SummaryEventInfo::List SummaryEventInfo::eventsForRange(const QDate &start, cons
return eventInfoList;
}
SummaryEventInfo::List SummaryEventInfo::eventsForDate(const QDate &date, const Akonadi::ETMCalendar::Ptr &calendar)
SummaryEventInfo::List SummaryEventInfo::eventsForDate(QDate date, const Akonadi::ETMCalendar::Ptr &calendar)
{
return eventsForRange(date, date, calendar);
}
......@@ -20,9 +20,9 @@ public:
SummaryEventInfo();
static List eventsForDate(const QDate &date, const Akonadi::ETMCalendar::Ptr &calendar);
static List eventsForRange(const QDate &start,
const QDate &end, // range is inclusive
static List eventsForDate(QDate date, const Akonadi::ETMCalendar::Ptr &calendar);
static List eventsForRange(QDate start,
QDate end, // range is inclusive
const Akonadi::ETMCalendar::Ptr &calendar);
static void setShowSpecialEvents(bool skipBirthdays, bool skipAnniversaries);
......
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