Commit 8347e073 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Make filterDate argument const reference

parent 4b021ce9
......@@ -101,7 +101,7 @@ QDate TodosModel::filterdt() const
return m_filterdt;
}
void TodosModel::setFilterdt(QDate filterDate)
void TodosModel::setFilterdt(const QDate& filterDate)
{
m_filterdt = filterDate;
emit filterdtChanged();
......
......@@ -59,7 +59,7 @@ public:
void setMemorycalendar(MemoryCalendar::Ptr calendarPtr);
QDate filterdt() const;
void setFilterdt(QDate filterDate);
void setFilterdt(const QDate& filterDate);
QHash<int, QByteArray> roleNames() const override;
......
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