summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/queryrunner.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/queryrunner.cpp b/common/queryrunner.cpp
index 25570bc..718586f 100644
--- a/common/queryrunner.cpp
+++ b/common/queryrunner.cpp
@@ -65,7 +65,10 @@ QueryRunner<DomainType>::QueryRunner(const Akonadi2::Query &query, const Akonadi
65 mResultProvider->setFetcher([this, query](const typename DomainType::Ptr &parent) { 65 mResultProvider->setFetcher([this, query](const typename DomainType::Ptr &parent) {
66 Trace() << "Running fetcher"; 66 Trace() << "Running fetcher";
67 const qint64 newRevision = executeInitialQuery(query, parent, *mResultProvider); 67 const qint64 newRevision = executeInitialQuery(query, parent, *mResultProvider);
68 mResourceAccess->sendRevisionReplayedCommand(newRevision); 68 //Only send the revision replayed information if we're connected to the resource, there's no need to start the resource otherwise.
69 if (query.liveQuery) {
70 mResourceAccess->sendRevisionReplayedCommand(newRevision);
71 }
69 }); 72 });
70 73
71 74