diff options
Diffstat (limited to 'framework/src/domain/retriever.cpp')
-rw-r--r-- | framework/src/domain/retriever.cpp | 2 |
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 | ||
44 | void Retriever::onRowsInserted(const QModelIndex &parent, int first, int last) | 44 | void 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())); |