diff options
Diffstat (limited to 'examples/mailtransportresource/mailtransportresource.cpp')
-rw-r--r-- | examples/mailtransportresource/mailtransportresource.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/mailtransportresource/mailtransportresource.cpp b/examples/mailtransportresource/mailtransportresource.cpp index 0688af6..c135de9 100644 --- a/examples/mailtransportresource/mailtransportresource.cpp +++ b/examples/mailtransportresource/mailtransportresource.cpp | |||
@@ -34,7 +34,6 @@ | |||
34 | #include <synchronizer.h> | 34 | #include <synchronizer.h> |
35 | #include <log.h> | 35 | #include <log.h> |
36 | #include <resourceconfig.h> | 36 | #include <resourceconfig.h> |
37 | #include <pipeline.h> | ||
38 | #include <mailpreprocessor.h> | 37 | #include <mailpreprocessor.h> |
39 | #include <adaptorfactoryregistry.h> | 38 | #include <adaptorfactoryregistry.h> |
40 | 39 | ||
@@ -125,8 +124,8 @@ public: | |||
125 | MailtransportResource::Settings mSettings; | 124 | MailtransportResource::Settings mSettings; |
126 | }; | 125 | }; |
127 | 126 | ||
128 | MailtransportResource::MailtransportResource(const Sink::ResourceContext &resourceContext, const QSharedPointer<Sink::Pipeline> &pipeline) | 127 | MailtransportResource::MailtransportResource(const Sink::ResourceContext &resourceContext) |
129 | : Sink::GenericResource(resourceContext, pipeline) | 128 | : Sink::GenericResource(resourceContext) |
130 | { | 129 | { |
131 | auto config = ResourceConfig::getConfiguration(resourceContext.instanceId()); | 130 | auto config = ResourceConfig::getConfiguration(resourceContext.instanceId()); |
132 | mSettings = {config.value("server").toString(), | 131 | mSettings = {config.value("server").toString(), |