diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-23 19:07:21 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-08-23 19:07:21 +0200 |
commit | ae0255bf8eb913004082278af27d69047503ea71 (patch) | |
tree | fbe5f2a8a22776c8eec5c51df1da3727b24f9ede /common/index.cpp | |
parent | 91cb5bf93c7eb1caad910b693927d80e552239b1 (diff) | |
download | sink-ae0255bf8eb913004082278af27d69047503ea71.tar.gz sink-ae0255bf8eb913004082278af27d69047503ea71.zip |
Storage cleanup
Diffstat (limited to 'common/index.cpp')
-rw-r--r-- | common/index.cpp | 2 |
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 | ||
4 | Index::Index(const QString &storageRoot, const QString &name, Akonadi2::Storage::AccessMode mode) | 4 | Index::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 | ||