summaryrefslogtreecommitdiffstats
path: root/common/changereplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/changereplay.cpp')
-rw-r--r--common/changereplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/changereplay.cpp b/common/changereplay.cpp
index 2447b6e..63c41c8 100644
--- a/common/changereplay.cpp
+++ b/common/changereplay.cpp
@@ -85,9 +85,9 @@ void ChangeReplay::revisionChanged()
85 Storage::mainDatabase(mainStoreTransaction, type) 85 Storage::mainDatabase(mainStoreTransaction, type)
86 .scan(key, 86 .scan(key,
87 [&lastReplayedRevision, type, this](const QByteArray &key, const QByteArray &value) -> bool { 87 [&lastReplayedRevision, type, this](const QByteArray &key, const QByteArray &value) -> bool {
88 Trace() << "Replaying " << key;
88 replay(type, key, value).exec(); 89 replay(type, key, value).exec();
89 // TODO make for loop async, and pass to async replay function together with type 90 // TODO make for loop async, and pass to async replay function together with type
90 Trace() << "Replaying " << key;
91 return false; 91 return false;
92 }, 92 },
93 [key](const Storage::Error &) { ErrorMsg() << "Failed to replay change " << key; }); 93 [key](const Storage::Error &) { ErrorMsg() << "Failed to replay change " << key; });