summaryrefslogtreecommitdiffstats
path: root/common/queryrunner.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-02-09 15:18:32 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-02-13 19:42:38 +0100
commitf0643eda63affab7298720c729cac1b1925bda3a (patch)
tree2d385931b1e6b53309307270c1852360959bfd78 /common/queryrunner.cpp
parenta372d9cc6c950beb401aef9005f97faeaf95b804 (diff)
downloadsink-f0643eda63affab7298720c729cac1b1925bda3a.tar.gz
sink-f0643eda63affab7298720c729cac1b1925bda3a.zip
Debugoutput
Diffstat (limited to 'common/queryrunner.cpp')
-rw-r--r--common/queryrunner.cpp2
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.