diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 12:40:24 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 12:40:24 +0100 |
commit | ba94c4300c52dd80774ed7affc2ef9b4508cb7be (patch) | |
tree | 3c8bf6ce042a4544e81901d901a3a3759d0a128a /tests/resourceconfigtest.cpp | |
parent | 98b682acb8c57cadaea5ff0ac6709d21a591b97b (diff) | |
download | sink-ba94c4300c52dd80774ed7affc2ef9b4508cb7be.tar.gz sink-ba94c4300c52dd80774ed7affc2ef9b4508cb7be.zip |
Don't expose the live query flag directly.
Diffstat (limited to 'tests/resourceconfigtest.cpp')
-rw-r--r-- | tests/resourceconfigtest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/resourceconfigtest.cpp b/tests/resourceconfigtest.cpp index c06b0fb..df98a61 100644 --- a/tests/resourceconfigtest.cpp +++ b/tests/resourceconfigtest.cpp | |||
@@ -86,7 +86,7 @@ private slots: | |||
86 | VERIFYEXEC(Sink::Store::create(res)); | 86 | VERIFYEXEC(Sink::Store::create(res)); |
87 | { | 87 | { |
88 | Sink::Query query; | 88 | Sink::Query query; |
89 | query.liveQuery = true; | 89 | query.setFlags(Query::LiveQuery); |
90 | query.request<SinkResource::Status>(); | 90 | query.request<SinkResource::Status>(); |
91 | auto model = Sink::Store::loadModel<SinkResource>(query); | 91 | auto model = Sink::Store::loadModel<SinkResource>(query); |
92 | QTRY_COMPARE(model->rowCount(QModelIndex()), 1); | 92 | QTRY_COMPARE(model->rowCount(QModelIndex()), 1); |