diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-29 15:19:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-05-29 15:19:21 +0200 |
commit | dabd408dcd372f16c7934597db30346869cd8ad8 (patch) | |
tree | 0d6513204b7fa6e34cf50733ad0472866ea05e2a /common/changereplay.cpp | |
parent | b441386c4e138d19bbd79d578e0a2ff1b3f54a93 (diff) | |
download | sink-dabd408dcd372f16c7934597db30346869cd8ad8.tar.gz sink-dabd408dcd372f16c7934597db30346869cd8ad8.zip |
Fixed genericresource so it works with the maildirresourcetest
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 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; }); |