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/dummyresourcetest.cpp | |
parent | 98b682acb8c57cadaea5ff0ac6709d21a591b97b (diff) | |
download | sink-ba94c4300c52dd80774ed7affc2ef9b4508cb7be.tar.gz sink-ba94c4300c52dd80774ed7affc2ef9b4508cb7be.zip |
Don't expose the live query flag directly.
Diffstat (limited to 'tests/dummyresourcetest.cpp')
-rw-r--r-- | tests/dummyresourcetest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/dummyresourcetest.cpp b/tests/dummyresourcetest.cpp index 0883a13..f8d8543 100644 --- a/tests/dummyresourcetest.cpp +++ b/tests/dummyresourcetest.cpp | |||
@@ -238,7 +238,7 @@ private slots: | |||
238 | void testWriteModifyDeleteLive() | 238 | void testWriteModifyDeleteLive() |
239 | { | 239 | { |
240 | auto query = Query().resourceFilter("sink.dummy.instance1"); | 240 | auto query = Query().resourceFilter("sink.dummy.instance1"); |
241 | query.liveQuery = true; | 241 | query.setFlags(Query::LiveQuery); |
242 | query.filter<Event::Uid>("testuid"); | 242 | query.filter<Event::Uid>("testuid"); |
243 | 243 | ||
244 | auto model = Sink::Store::loadModel<Event>(query); | 244 | auto model = Sink::Store::loadModel<Event>(query); |