summaryrefslogtreecommitdiffstats
path: root/common/facade.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-19 15:01:02 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-10-19 15:01:37 +0200
commit43c4cd555e4a265d3e484dfeea0aa05da0977cd0 (patch)
tree359fe5ffc5d4e3e2e45cd3dc33eabe6dd30ce149 /common/facade.h
parent7ea7a77aab64ea61d9966caee2b8e7d33d0f5526 (diff)
downloadsink-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.h3
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();