summaryrefslogtreecommitdiffstats
path: root/common/clientapi.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-08 14:04:03 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-12-08 14:04:03 +0100
commitd4b1dd9899a4ae5651967cdcd00c1edf10cc9753 (patch)
treea4c03cbb465411430d4ebf3ede729fa45700fce3 /common/clientapi.cpp
parent3257ee0e6e0d9c3e0ad7d016e2bf9de098535894 (diff)
downloadsink-d4b1dd9899a4ae5651967cdcd00c1edf10cc9753.tar.gz
sink-d4b1dd9899a4ae5651967cdcd00c1edf10cc9753.zip
Use a list instead of a set for requested properties
We want to maintain the order since we use the list in the model result
Diffstat (limited to 'common/clientapi.cpp')
-rw-r--r--common/clientapi.cpp2
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
80template <class DomainType> 80template <class DomainType>
81QSharedPointer<QAbstractItemModel> Store::loadModel(Query query) 81QSharedPointer<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