diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-09 15:18:32 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-02-13 19:42:38 +0100 |
commit | f0643eda63affab7298720c729cac1b1925bda3a (patch) | |
tree | 2d385931b1e6b53309307270c1852360959bfd78 /common/queryrunner.cpp | |
parent | a372d9cc6c950beb401aef9005f97faeaf95b804 (diff) | |
download | sink-f0643eda63affab7298720c729cac1b1925bda3a.tar.gz sink-f0643eda63affab7298720c729cac1b1925bda3a.zip |
Debugoutput
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 4af9866..748320f 100644 --- a/common/queryrunner.cpp +++ b/common/queryrunner.cpp | |||
@@ -66,7 +66,7 @@ QueryRunner<DomainType>::QueryRunner(const Sink::Query &query, const Sink::Resou | |||
66 | { | 66 | { |
67 | SinkTraceCtx(mLogCtx) << "Starting query. Is live:" << query.liveQuery() << " Limit: " << query.limit(); | 67 | SinkTraceCtx(mLogCtx) << "Starting query. Is live:" << query.liveQuery() << " Limit: " << query.limit(); |
68 | if (query.limit() && query.sortProperty().isEmpty()) { | 68 | if (query.limit() && query.sortProperty().isEmpty()) { |
69 | SinkWarning() << "A limited query without sorting is typically a bad idea, because there is no telling what you're going to get."; | 69 | SinkWarningCtx(mLogCtx) << "A limited query without sorting is typically a bad idea, because there is no telling what you're going to get."; |
70 | } | 70 | } |
71 | auto guardPtr = QPointer<QObject>(&guard); | 71 | auto guardPtr = QPointer<QObject>(&guard); |
72 | // We delegate loading of initial data to the result provider, so it can decide for itself what it needs to load. | 72 | // We delegate loading of initial data to the result provider, so it can decide for itself what it needs to load. |