diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-27 16:47:40 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-03-31 11:11:08 +0200 |
commit | 95fab4cac8217446684cfe6bd3f0218b0655530b (patch) | |
tree | 607b8beada461d46ae751a11fe7e9459d08033b1 /dummyresource/resourcefactory.cpp | |
parent | 7642433a4fafd2ccf7e8b43c81ec18282f544a3b (diff) | |
download | sink-95fab4cac8217446684cfe6bd3f0218b0655530b.tar.gz sink-95fab4cac8217446684cfe6bd3f0218b0655530b.zip |
Minor cleanup, less warnings.
Diffstat (limited to 'dummyresource/resourcefactory.cpp')
-rw-r--r-- | dummyresource/resourcefactory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dummyresource/resourcefactory.cpp b/dummyresource/resourcefactory.cpp index fab3df9..d1beb1d 100644 --- a/dummyresource/resourcefactory.cpp +++ b/dummyresource/resourcefactory.cpp | |||
@@ -248,7 +248,7 @@ void DummyResource::configurePipeline(Akonadi2::Pipeline *pipeline) | |||
248 | auto eventFactory = QSharedPointer<DummyEventAdaptorFactory>::create(); | 248 | auto eventFactory = QSharedPointer<DummyEventAdaptorFactory>::create(); |
249 | //FIXME we should setup for each resource entity type, not for each domain type | 249 | //FIXME we should setup for each resource entity type, not for each domain type |
250 | //i.e. If a resource stores tags as part of each message it needs to update the tag index | 250 | //i.e. If a resource stores tags as part of each message it needs to update the tag index |
251 | //TODO setup preprocessors for each domain type and pipeline type allowing full customization | 251 | //TODO setup preprocessors for each resource entity type and pipeline type allowing full customization |
252 | //Eventually the order should be self configuring, for now it's hardcoded. | 252 | //Eventually the order should be self configuring, for now it's hardcoded. |
253 | auto eventIndexer = new SimpleProcessor("summaryprocessor", [eventFactory](const Akonadi2::PipelineState &state, const Akonadi2::Entity &entity) { | 253 | auto eventIndexer = new SimpleProcessor("summaryprocessor", [eventFactory](const Akonadi2::PipelineState &state, const Akonadi2::Entity &entity) { |
254 | auto adaptor = eventFactory->createAdaptor(entity); | 254 | auto adaptor = eventFactory->createAdaptor(entity); |