diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 15:07:35 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-11-04 15:07:35 +0100 |
commit | c04755a772cbc6b2cf3a80e9c3c17b718e153c55 (patch) | |
tree | 9284c7c1bcd58912d19a5d2a614b5953443556ff /common/queryrunner.cpp | |
parent | ba94c4300c52dd80774ed7affc2ef9b4508cb7be (diff) | |
download | sink-c04755a772cbc6b2cf3a80e9c3c17b718e153c55.tar.gz sink-c04755a772cbc6b2cf3a80e9c3c17b718e153c55.zip |
User querybase
Diffstat (limited to 'common/queryrunner.cpp')
-rw-r--r-- | common/queryrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/queryrunner.cpp b/common/queryrunner.cpp index 780b341..cf6fcf8 100644 --- a/common/queryrunner.cpp +++ b/common/queryrunner.cpp | |||
@@ -63,7 +63,7 @@ QueryRunner<DomainType>::QueryRunner(const Sink::Query &query, const Sink::Resou | |||
63 | : QueryRunnerBase(), mResourceContext(context), mResourceAccess(mResourceContext.resourceAccess()), mResultProvider(new ResultProvider<typename DomainType::Ptr>), mBatchSize(query.limit) | 63 | : QueryRunnerBase(), mResourceContext(context), mResourceAccess(mResourceContext.resourceAccess()), mResultProvider(new ResultProvider<typename DomainType::Ptr>), mBatchSize(query.limit) |
64 | { | 64 | { |
65 | SinkTrace() << "Starting query"; | 65 | SinkTrace() << "Starting query"; |
66 | if (query.limit && query.sortProperty.isEmpty()) { | 66 | if (query.limit && query.sortProperty().isEmpty()) { |
67 | SinkWarning() << "A limited query without sorting is typically a bad idea."; | 67 | SinkWarning() << "A limited query without sorting is typically a bad idea."; |
68 | } | 68 | } |
69 | auto guardPtr = QPointer<QObject>(&guard); | 69 | auto guardPtr = QPointer<QObject>(&guard); |