diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-19 15:01:02 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-19 15:01:37 +0200 |
commit | 43c4cd555e4a265d3e484dfeea0aa05da0977cd0 (patch) | |
tree | 359fe5ffc5d4e3e2e45cd3dc33eabe6dd30ce149 /common/facade.h | |
parent | 7ea7a77aab64ea61d9966caee2b8e7d33d0f5526 (diff) | |
download | sink-43c4cd555e4a265d3e484dfeea0aa05da0977cd0.tar.gz sink-43c4cd555e4a265d3e484dfeea0aa05da0977cd0.zip |
Let clients tell the resource when they no longer require a revision.
Diffstat (limited to 'common/facade.h')
-rw-r--r-- | common/facade.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/facade.h b/common/facade.h index 8b37579..a0971a1 100644 --- a/common/facade.h +++ b/common/facade.h | |||
@@ -251,9 +251,10 @@ public: | |||
251 | future.setFinished(); | 251 | future.setFinished(); |
252 | return; | 252 | return; |
253 | } | 253 | } |
254 | load(query, resultProvider, oldRevision).template then<void, qint64>([&future](qint64 queriedRevision) { | 254 | load(query, resultProvider, oldRevision).template then<void, qint64>([&future, this](qint64 queriedRevision) { |
255 | //TODO set revision in result provider? | 255 | //TODO set revision in result provider? |
256 | //TODO update all existing results with new revision | 256 | //TODO update all existing results with new revision |
257 | mResourceAccess->sendRevisionReplayedCommand(queriedRevision); | ||
257 | future.setValue(queriedRevision); | 258 | future.setValue(queriedRevision); |
258 | future.setFinished(); | 259 | future.setFinished(); |
259 | }).exec(); | 260 | }).exec(); |