summaryrefslogtreecommitdiffstats
path: root/common/entitystorage.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 23:57:09 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 23:57:09 +0200
commit9c3d000e11d3b1fc6c6c205fe9e7ea26c11092c6 (patch)
tree7cf47fd2334487a0e4f2bfef73c8e09e165dc4cc /common/entitystorage.cpp
parentae0255bf8eb913004082278af27d69047503ea71 (diff)
downloadsink-9c3d000e11d3b1fc6c6c205fe9e7ea26c11092c6.tar.gz
sink-9c3d000e11d3b1fc6c6c205fe9e7ea26c11092c6.zip
Removed convenience API
Diffstat (limited to 'common/entitystorage.cpp')
-rw-r--r--common/entitystorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/entitystorage.cpp b/common/entitystorage.cpp
index 22fd9e6..8a3391e 100644
--- a/common/entitystorage.cpp
+++ b/common/entitystorage.cpp
@@ -21,7 +21,7 @@
21 21
22static void scan(const Akonadi2::Storage::Transaction &transaction, const QByteArray &key, std::function<bool(const QByteArray &key, const Akonadi2::Entity &entity)> callback) 22static void scan(const Akonadi2::Storage::Transaction &transaction, const QByteArray &key, std::function<bool(const QByteArray &key, const Akonadi2::Entity &entity)> callback)
23{ 23{
24 transaction.scan(key, [=](const QByteArray &key, const QByteArray &value) -> bool { 24 transaction.openDatabase().scan(key, [=](const QByteArray &key, const QByteArray &value) -> bool {
25 //Skip internals 25 //Skip internals
26 if (Akonadi2::Storage::isInternalKey(key)) { 26 if (Akonadi2::Storage::isInternalKey(key)) {
27 return true; 27 return true;