diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-06 16:19:51 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-10-10 10:40:01 +0200 |
commit | f689ad1021a7805f6f8b6a81f534b4cb9ca91f51 (patch) | |
tree | c18d746b775279f143c8d8052924bb4d83fbb91f /common/facade.h | |
parent | c3f6e72c2d46906a4699127b558ca248729ce577 (diff) | |
download | sink-f689ad1021a7805f6f8b6a81f534b4cb9ca91f51.tar.gz sink-f689ad1021a7805f6f8b6a81f534b4cb9ca91f51.zip |
Change replay
So far only includes modifications and additions,
removals are not yet stored as separate revisions.
Diffstat (limited to 'common/facade.h')
-rw-r--r-- | common/facade.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/facade.h b/common/facade.h index d53ec4a..dab1578 100644 --- a/common/facade.h +++ b/common/facade.h | |||
@@ -56,8 +56,8 @@ public: | |||
56 | if (mLatestRevision == newRevision && mLatestRevision > 0) { | 56 | if (mLatestRevision == newRevision && mLatestRevision > 0) { |
57 | return KAsync::null<void>(); | 57 | return KAsync::null<void>(); |
58 | } | 58 | } |
59 | return queryFunction(mLatestRevision + 1, newRevision).then<void, qint64>([this](qint64 revision) { | 59 | return queryFunction(mLatestRevision, newRevision).then<void, qint64>([this](qint64 revision) { |
60 | mLatestRevision = revision; | 60 | mLatestRevision = revision + 1; |
61 | }).then<void>([](){}); | 61 | }).then<void>([](){}); |
62 | } | 62 | } |
63 | 63 | ||