summaryrefslogtreecommitdiffstats
path: root/examples/dummyresource/resourcefactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dummyresource/resourcefactory.cpp')
-rw-r--r--examples/dummyresource/resourcefactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dummyresource/resourcefactory.cpp b/examples/dummyresource/resourcefactory.cpp
index 71a4ac5..31ec972 100644
--- a/examples/dummyresource/resourcefactory.cpp
+++ b/examples/dummyresource/resourcefactory.cpp
@@ -122,7 +122,7 @@ void DummyResource::configurePipeline(Akonadi2::Pipeline *pipeline)
122 auto adaptor = eventFactory->createAdaptor(entity); 122 auto adaptor = eventFactory->createAdaptor(entity);
123 //FIXME set revision? 123 //FIXME set revision?
124 Akonadi2::ApplicationDomain::Event event(resourceIdentifier, state.key(), -1, adaptor); 124 Akonadi2::ApplicationDomain::Event event(resourceIdentifier, state.key(), -1, adaptor);
125 Akonadi2::ApplicationDomain::EventImplementation::index(event); 125 Akonadi2::ApplicationDomain::TypeImplementation<Akonadi2::ApplicationDomain::Event>::index(event);
126 }); 126 });
127 127
128 //event is the entitytype and not the domain type 128 //event is the entitytype and not the domain type