Commit dcd201fa authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

MemoryCalendar pointer should be const

parent 8347e073
Pipeline #2976 passed with stage
in 10 minutes and 24 seconds
......@@ -89,7 +89,7 @@ MemoryCalendar::Ptr TodosModel::memorycalendar() const
return m_calendar;
}
void TodosModel::setMemorycalendar(MemoryCalendar::Ptr calendarPtr)
void TodosModel::setMemorycalendar(const MemoryCalendar::Ptr calendarPtr)
{
m_calendar = calendarPtr;
......
......@@ -56,7 +56,7 @@ public:
int rowCount(const QModelIndex& parent = QModelIndex()) const override;
MemoryCalendar::Ptr memorycalendar() const;
void setMemorycalendar(MemoryCalendar::Ptr calendarPtr);
void setMemorycalendar(const MemoryCalendar::Ptr calendarPtr);
QDate filterdt() const;
void setFilterdt(const QDate& filterDate);
......
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