summaryrefslogtreecommitdiffstats
path: root/common/store.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-25 18:32:22 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-25 18:32:22 +0200
commit8dbd8979de794217d4b7e885d9a5524be444d646 (patch)
tree1455d46b6765d6ce304c5608076a205a7c1fd40c /common/store.cpp
parent08d41b8588c6b9c2e5e41c1ea0cb3d62956d1ea3 (diff)
downloadsink-8dbd8979de794217d4b7e885d9a5524be444d646.tar.gz
sink-8dbd8979de794217d4b7e885d9a5524be444d646.zip
Fixed new warnings
Diffstat (limited to 'common/store.cpp')
-rw-r--r--common/store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/store.cpp b/common/store.cpp
index 34d547b..4c9ef4c 100644
--- a/common/store.cpp
+++ b/common/store.cpp
@@ -432,7 +432,7 @@ KAsync::Job<QList<typename DomainType::Ptr>> Store::fetch(const Sink::Query &que
432 list->append(model->index(i, 0, QModelIndex()).data(Sink::Store::DomainObjectRole).template value<typename DomainType::Ptr>()); 432 list->append(model->index(i, 0, QModelIndex()).data(Sink::Store::DomainObjectRole).template value<typename DomainType::Ptr>());
433 } 433 }
434 } else { 434 } else {
435 QObject::connect(model.data(), &QAbstractItemModel::rowsInserted, context.data(), [model, &future, list](const QModelIndex &index, int start, int end) { 435 QObject::connect(model.data(), &QAbstractItemModel::rowsInserted, context.data(), [model, list](const QModelIndex &index, int start, int end) {
436 for (int i = start; i <= end; i++) { 436 for (int i = start; i <= end; i++) {
437 list->append(model->index(i, 0, QModelIndex()).data(Sink::Store::DomainObjectRole).template value<typename DomainType::Ptr>()); 437 list->append(model->index(i, 0, QModelIndex()).data(Sink::Store::DomainObjectRole).template value<typename DomainType::Ptr>());
438 } 438 }