diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-23 10:06:49 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-23 10:06:49 +0100 |
commit | dc0039b46a37c7850d78810684f3ce97afd0df1c (patch) | |
tree | 296ef53ee26a1b578ef6aeed13f48f391f6709aa /common/store.h | |
parent | 6b1cf550608c2f17cbed9e375f15a4c14bfe8ace (diff) | |
download | sink-dc0039b46a37c7850d78810684f3ce97afd0df1c.tar.gz sink-dc0039b46a37c7850d78810684f3ce97afd0df1c.zip |
Use the resourcefacade to query for resources.
Otherwise we'd have to maintain two query paths,
and getResource already broke because we didn't retrieve
the capabilities.
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/store.h b/common/store.h index b261f47..d2ab9b5 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -59,7 +59,7 @@ enum Roles | |||
59 | * Asynchronusly load a dataset with tree structure information | 59 | * Asynchronusly load a dataset with tree structure information |
60 | */ | 60 | */ |
61 | template <class DomainType> | 61 | template <class DomainType> |
62 | QSharedPointer<QAbstractItemModel> SINK_EXPORT loadModel(Query query); | 62 | QSharedPointer<QAbstractItemModel> SINK_EXPORT loadModel(const Query &query); |
63 | 63 | ||
64 | /** | 64 | /** |
65 | * Create a new entity. | 65 | * Create a new entity. |