summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/retriever.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-09 12:43:19 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-04-09 12:43:19 +0200
commit19857144241d4169a0eb49737e7a61c481b9609d (patch)
tree017b93acea6390f9bdaf2ffd6161871f2ab87966 /framework/src/domain/retriever.cpp
parentbb4be57d21a47f9d975edd2beb9578e0f54b83df (diff)
downloadkube-19857144241d4169a0eb49737e7a61c481b9609d.tar.gz
kube-19857144241d4169a0eb49737e7a61c481b9609d.zip
Fixed warnings
Diffstat (limited to 'framework/src/domain/retriever.cpp')
-rw-r--r--framework/src/domain/retriever.cpp2
1 files changed, 1 insertions, 1 deletions
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()));