diff options
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r-- | common/clientapi.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/clientapi.cpp b/common/clientapi.cpp index 3dc9370..255ea21 100644 --- a/common/clientapi.cpp +++ b/common/clientapi.cpp | |||
@@ -80,7 +80,7 @@ QList<QByteArray> Store::getResources(const QList<QByteArray> &resourceFilter, c | |||
80 | template <class DomainType> | 80 | template <class DomainType> |
81 | QSharedPointer<QAbstractItemModel> Store::loadModel(Query query) | 81 | QSharedPointer<QAbstractItemModel> Store::loadModel(Query query) |
82 | { | 82 | { |
83 | auto model = QSharedPointer<ModelResult<DomainType, typename DomainType::Ptr> >::create(query, query.requestedProperties.toList()); | 83 | auto model = QSharedPointer<ModelResult<DomainType, typename DomainType::Ptr> >::create(query, query.requestedProperties); |
84 | 84 | ||
85 | //* Client defines lifetime of model | 85 | //* Client defines lifetime of model |
86 | //* The model lifetime defines the duration of live-queries | 86 | //* The model lifetime defines the duration of live-queries |