summaryrefslogtreecommitdiffstats
path: root/framework/src/domain
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain')
-rw-r--r--framework/src/domain/peoplemodel.cpp2
-rw-r--r--framework/src/domain/retriever.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/src/domain/peoplemodel.cpp b/framework/src/domain/peoplemodel.cpp
index f52ac53f..e09b84a0 100644
--- a/framework/src/domain/peoplemodel.cpp
+++ b/framework/src/domain/peoplemodel.cpp
@@ -142,7 +142,7 @@ void PeopleModel::runQuery(const Sink::Query &query)
142 setSourceModel(mModel.data()); 142 setSourceModel(mModel.data());
143} 143}
144 144
145void PeopleModel::setAddressbook(const QVariant &parentFolder) 145void PeopleModel::setAddressbook(const QVariant &/*parentFolder*/)
146{ 146{
147 //TODO filter query by addressbook 147 //TODO filter query by addressbook
148 qWarning() << "The addressbook filter is not yet implemented"; 148 qWarning() << "The addressbook filter is not yet implemented";
diff --git a/framework/src/domain/retriever.cpp b/framework/src/domain/retriever.cpp
index b8e29523..2aaceace 100644
--- a/framework/src/domain/retriever.cpp
+++ b/framework/src/domain/retriever.cpp
@@ -41,7 +41,7 @@ void Retriever::setModel(QAbstractItemModel* model)
41 } 41 }
42} 42}
43 43
44void Retriever::onRowsInserted(const QModelIndex &parent, int first, int last) 44void Retriever::onRowsInserted(const QModelIndex &, int, int)
45{ 45{
46 if (!mValue.isValid()) { 46 if (!mValue.isValid()) {
47 mValue = mModel->index(0, 0, QModelIndex()).data(mModel->roleNames().key(mPropertyName.toLatin1())); 47 mValue = mModel->index(0, 0, QModelIndex()).data(mModel->roleNames().key(mPropertyName.toLatin1()));