From 63919d3040295415306267df7b66e7a5e2c9395f Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 8 Jun 2015 10:47:57 +0200 Subject: Differentiate between resource name and instance identifier --- examples/dummyresource/resourcefactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/dummyresource/resourcefactory.cpp') 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 DummyResource::synchronizeWithSource(Akonadi2::Pipeline *pipel { return KAsync::start([this, pipeline](KAsync::Future &f) { //TODO use a read-only transaction during the complete sync to sync against a defined revision - auto storage = QSharedPointer::create(Akonadi2::Store::storageLocation(), "org.kde.dummy"); + auto storage = QSharedPointer::create(Akonadi2::Store::storageLocation(), "org.kde.dummy.instance1"); for (auto it = s_dataSource.constBegin(); it != s_dataSource.constEnd(); it++) { bool isNew = true; if (storage->exists()) { -- cgit v1.2.3