summaryrefslogtreecommitdiffstats
path: root/common/index.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 19:07:21 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2015-08-23 19:07:21 +0200
commitae0255bf8eb913004082278af27d69047503ea71 (patch)
treefbe5f2a8a22776c8eec5c51df1da3727b24f9ede /common/index.cpp
parent91cb5bf93c7eb1caad910b693927d80e552239b1 (diff)
downloadsink-ae0255bf8eb913004082278af27d69047503ea71.tar.gz
sink-ae0255bf8eb913004082278af27d69047503ea71.zip
Storage cleanup
Diffstat (limited to 'common/index.cpp')
-rw-r--r--common/index.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/index.cpp b/common/index.cpp
index 75ffe3f..f752f5f 100644
--- a/common/index.cpp
+++ b/common/index.cpp
@@ -2,7 +2,7 @@
2#include <QDebug> 2#include <QDebug>
3 3
4Index::Index(const QString &storageRoot, const QString &name, Akonadi2::Storage::AccessMode mode) 4Index::Index(const QString &storageRoot, const QString &name, Akonadi2::Storage::AccessMode mode)
5 : mTransaction(Akonadi2::Storage(storageRoot, name, mode, true).createTransaction(mode)), 5 : mTransaction(Akonadi2::Storage(storageRoot, name, mode).createTransaction(mode)),
6 mDb(mTransaction.openDatabase(name.toLatin1(), std::function<void(const Akonadi2::Storage::Error &)>(), true)) 6 mDb(mTransaction.openDatabase(name.toLatin1(), std::function<void(const Akonadi2::Storage::Error &)>(), true))
7{ 7{
8 8