diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-12 11:45:15 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-01-12 11:45:15 +0100 |
commit | 7daeec83233c522980d5e477fee82045de57f77d (patch) | |
tree | 5e03d11d23c764eb03f27393fcc37c0529405e10 /common/changereplay.cpp | |
parent | af8baff21529b5bc47725da3e9e00ec81e5b6f1b (diff) | |
download | sink-7daeec83233c522980d5e477fee82045de57f77d.tar.gz sink-7daeec83233c522980d5e477fee82045de57f77d.zip |
syncThen is no longer necessary
Diffstat (limited to 'common/changereplay.cpp')
-rw-r--r-- | common/changereplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/changereplay.cpp b/common/changereplay.cpp index 5d5afbb..224fb25 100644 --- a/common/changereplay.cpp +++ b/common/changereplay.cpp | |||
@@ -151,7 +151,7 @@ KAsync::Job<void> ChangeReplay::replayNextRevision() | |||
151 | return KAsync::value(KAsync::Break); | 151 | return KAsync::value(KAsync::Break); |
152 | }); | 152 | }); |
153 | })) | 153 | })) |
154 | .syncThen<void>([this, lastReplayedRevision]() { | 154 | .then([this, lastReplayedRevision]() { |
155 | recordReplayedRevision(*lastReplayedRevision); | 155 | recordReplayedRevision(*lastReplayedRevision); |
156 | mMainStoreTransaction.abort(); | 156 | mMainStoreTransaction.abort(); |
157 | if (ChangeReplay::allChangesReplayed()) { | 157 | if (ChangeReplay::allChangesReplayed()) { |