diff options
-rw-r--r-- | common/clientapi.cpp | 2 | ||||
-rw-r--r-- | common/query.h | 2 |
2 files changed, 2 insertions, 2 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 |
diff --git a/common/query.h b/common/query.h index 5313fa9..0d0f382 100644 --- a/common/query.h +++ b/common/query.h | |||
@@ -52,7 +52,7 @@ public: | |||
52 | //Filters to apply | 52 | //Filters to apply |
53 | QHash<QByteArray, QVariant> propertyFilter; | 53 | QHash<QByteArray, QVariant> propertyFilter; |
54 | //Properties to retrieve | 54 | //Properties to retrieve |
55 | QSet<QByteArray> requestedProperties; | 55 | QByteArrayList requestedProperties; |
56 | QByteArray parentProperty; | 56 | QByteArray parentProperty; |
57 | bool syncOnDemand; | 57 | bool syncOnDemand; |
58 | bool processAll; | 58 | bool processAll; |