diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 15:46:37 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-02-10 15:46:37 +0100 |
commit | 06edec33607dac155dab2184adb425fa6057355d (patch) | |
tree | 82394cc1300c490fd679dfe1e262e77b83c74c0a /common/queryrunner.cpp | |
parent | f6cbafd5db9d75bda4e45d4c2ffb60e9cd174d9b (diff) | |
download | sink-06edec33607dac155dab2184adb425fa6057355d.tar.gz sink-06edec33607dac155dab2184adb425fa6057355d.zip |
Adapt to latest kasync version
Diffstat (limited to 'common/queryrunner.cpp')
-rw-r--r-- | common/queryrunner.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/common/queryrunner.cpp b/common/queryrunner.cpp index 4d05721..22682d3 100644 --- a/common/queryrunner.cpp +++ b/common/queryrunner.cpp | |||
@@ -105,8 +105,7 @@ QueryRunner<DomainType>::QueryRunner(const Sink::Query &query, const Sink::Resou | |||
105 | .template then<void, qint64>([query, this](qint64 newRevision) { | 105 | .template then<void, qint64>([query, this](qint64 newRevision) { |
106 | //Only send the revision replayed information if we're connected to the resource, there's no need to start the resource otherwise. | 106 | //Only send the revision replayed information if we're connected to the resource, there's no need to start the resource otherwise. |
107 | mResourceAccess->sendRevisionReplayedCommand(newRevision); | 107 | mResourceAccess->sendRevisionReplayedCommand(newRevision); |
108 | }) | 108 | }); |
109 | .template then<void>([](){}); | ||
110 | }); | 109 | }); |
111 | //Ensure the connection is open, if it wasn't already opened | 110 | //Ensure the connection is open, if it wasn't already opened |
112 | //TODO If we are not connected already, we have to check for the latest revision once connected, otherwise we could miss some updates | 111 | //TODO If we are not connected already, we have to check for the latest revision once connected, otherwise we could miss some updates |