diff options
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); |