Commit 4b021ce9 authored by Dimitris Kardarakos's avatar Dimitris Kardarakos

Properly call signal of row count change

parent 8d08d3c5
......@@ -125,4 +125,5 @@ void TodosModel::loadTasks()
m_todos = m_calendar->rawTodos();
emit rowCountChanged();
......@@ -33,7 +33,7 @@ class TodosModel : public QAbstractListModel
Q_PROPERTY(QDate filterdt READ filterdt WRITE setFilterdt NOTIFY filterdtChanged)
Q_PROPERTY(QSharedPointer<MemoryCalendar> memorycalendar READ memorycalendar WRITE setMemorycalendar NOTIFY memorycalendarChanged )
Q_PROPERTY(int count READ rowCount NOTIFY rowsChanged)
Q_PROPERTY(int count READ rowCount NOTIFY rowCountChanged)
enum Roles {
......@@ -67,7 +67,7 @@ public Q_SLOTS:
void loadTasks();
void rowsChanged();
void rowCountChanged();
void memorycalendarChanged();
void filterdtChanged();
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