diff options
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r-- | examples/dummyresource/resourcefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp index 31ec972..e244131 100644 --- a/examples/dummyresource/resourcefactory.cpp +++ b/examples/dummyresource/resourcefactory.cpp | |||
@@ -158,7 +158,7 @@ KAsync::Job<void> DummyResource::synchronizeWithSource(Akonadi2::Pipeline *pipel | |||
158 | { | 158 | { |
159 | return KAsync::start<void>([this, pipeline](KAsync::Future<void> &f) { | 159 | return KAsync::start<void>([this, pipeline](KAsync::Future<void> &f) { |
160 | //TODO use a read-only transaction during the complete sync to sync against a defined revision | 160 | //TODO use a read-only transaction during the complete sync to sync against a defined revision |
161 | auto storage = QSharedPointer<Akonadi2::Storage>::create(Akonadi2::Store::storageLocation(), "org.kde.dummy"); | 161 | auto storage = QSharedPointer<Akonadi2::Storage>::create(Akonadi2::Store::storageLocation(), "org.kde.dummy.instance1"); |
162 | for (auto it = s_dataSource.constBegin(); it != s_dataSource.constEnd(); it++) { | 162 | for (auto it = s_dataSource.constBegin(); it != s_dataSource.constEnd(); it++) { |
163 | bool isNew = true; | 163 | bool isNew = true; |
164 | if (storage->exists()) { | 164 | if (storage->exists()) { |