Commit 484d3a71 authored by Anupam Basak's avatar Anupam Basak

Fix wrong method signature

parent da5bed48
......@@ -14,7 +14,7 @@ CallLogs::CallLogs(QObject *parent) : MauiList(parent)
this->getList();
}
FMH::MODEL_LIST CallLogs::items() const
const FMH::MODEL_LIST &CallLogs::items() const
{
return this->list;
}
......
......@@ -36,7 +36,7 @@ public:
}; Q_ENUM(ORDER)
explicit CallLogs(QObject *parent = nullptr);
FMH::MODEL_LIST items() const override final;
const FMH::MODEL_LIST &items() const override final;
void setSortBy(const CallLogs::SORTBY &sort);
CallLogs::SORTBY getSortBy() const;
......
......@@ -31,7 +31,7 @@ ContactsModel::ContactsModel(QObject *parent) : MauiList(parent), syncer(new Lin
this->getList();
}
FMH::MODEL_LIST ContactsModel::items() const
const FMH::MODEL_LIST &ContactsModel::items() const
{
return this->list;
}
......
......@@ -18,7 +18,7 @@ class ContactsModel : public MauiList
public:
explicit ContactsModel(QObject *parent = nullptr);
FMH::MODEL_LIST items() const override final;
const FMH::MODEL_LIST &items() const override final;
QString getQuery() const;
void setQuery(const QString &query);
......
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