diff options
Diffstat (limited to 'common/genericresource.cpp')
-rw-r--r-- | common/genericresource.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/genericresource.cpp b/common/genericresource.cpp index b6a8f62..00d7d0c 100644 --- a/common/genericresource.cpp +++ b/common/genericresource.cpp | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | #include "pipeline.h" | 22 | #include "pipeline.h" |
23 | #include "synchronizer.h" | 23 | #include "synchronizer.h" |
24 | #include "inspector.h" | ||
24 | #include "commandprocessor.h" | 25 | #include "commandprocessor.h" |
25 | #include "definitions.h" | 26 | #include "definitions.h" |
26 | #include "storage.h" | 27 | #include "storage.h" |
@@ -50,6 +51,9 @@ void GenericResource::setSecret(const QString &s) | |||
50 | if (mSynchronizer) { | 51 | if (mSynchronizer) { |
51 | mSynchronizer->setSecret(s); | 52 | mSynchronizer->setSecret(s); |
52 | } | 53 | } |
54 | if (mInspector) { | ||
55 | mInspector->setSecret(s); | ||
56 | } | ||
53 | } | 57 | } |
54 | 58 | ||
55 | void GenericResource::setupPreprocessors(const QByteArray &type, const QVector<Sink::Preprocessor *> &preprocessors) | 59 | void GenericResource::setupPreprocessors(const QByteArray &type, const QVector<Sink::Preprocessor *> &preprocessors) |
@@ -68,6 +72,7 @@ void GenericResource::setupSynchronizer(const QSharedPointer<Synchronizer> &sync | |||
68 | 72 | ||
69 | void GenericResource::setupInspector(const QSharedPointer<Inspector> &inspector) | 73 | void GenericResource::setupInspector(const QSharedPointer<Inspector> &inspector) |
70 | { | 74 | { |
75 | mInspector = inspector; | ||
71 | mProcessor->setInspector(inspector); | 76 | mProcessor->setInspector(inspector); |
72 | } | 77 | } |
73 | 78 | ||