diff options
Diffstat (limited to 'examples/imapresource/imapresource.cpp')
-rw-r--r-- | examples/imapresource/imapresource.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/imapresource/imapresource.cpp b/examples/imapresource/imapresource.cpp index b8129cd..6168fa4 100644 --- a/examples/imapresource/imapresource.cpp +++ b/examples/imapresource/imapresource.cpp | |||
@@ -141,9 +141,6 @@ public: | |||
141 | // auto remoteIds = synchronizationTransaction.openDatabase("rid.mapping." + bufferType, std::function<void(const Sink::Storage::Error &)>(), true); | 141 | // auto remoteIds = synchronizationTransaction.openDatabase("rid.mapping." + bufferType, std::function<void(const Sink::Storage::Error &)>(), true); |
142 | auto mainDatabase = Sink::Storage::mainDatabase(transaction(), bufferType); | 142 | auto mainDatabase = Sink::Storage::mainDatabase(transaction(), bufferType); |
143 | mainDatabase.scan("", [&](const QByteArray &key, const QByteArray &) { | 143 | mainDatabase.scan("", [&](const QByteArray &key, const QByteArray &) { |
144 | if (Sink::Storage::isInternalKey(key)) { | ||
145 | return true; | ||
146 | } | ||
147 | callback(key); | 144 | callback(key); |
148 | return true; | 145 | return true; |
149 | }); | 146 | }); |