diff options
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 | ||