diff options
Diffstat (limited to 'common/resource.cpp')
-rw-r--r-- | common/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/resource.cpp b/common/resource.cpp index 6713686..82c9fc8 100644 --- a/common/resource.cpp +++ b/common/resource.cpp | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <QPointer> | 26 | #include <QPointer> |
27 | 27 | ||
28 | #include "facadefactory.h" | 28 | #include "facadefactory.h" |
29 | #include "adaptorfactoryregistry.h" | ||
29 | 30 | ||
30 | namespace Sink { | 31 | namespace Sink { |
31 | 32 | ||
@@ -110,6 +111,7 @@ ResourceFactory *ResourceFactory::load(const QString &resourceName) | |||
110 | if (factory) { | 111 | if (factory) { |
111 | Private::s_loadedFactories.insert(resourceName, factory); | 112 | Private::s_loadedFactories.insert(resourceName, factory); |
112 | factory->registerFacades(FacadeFactory::instance()); | 113 | factory->registerFacades(FacadeFactory::instance()); |
114 | factory->registerAdaptorFactories(AdaptorFactoryRegistry::instance()); | ||
113 | // TODO: if we need more data on it const QJsonObject json = loader.metaData()[QStringLiteral("MetaData")].toObject(); | 115 | // TODO: if we need more data on it const QJsonObject json = loader.metaData()[QStringLiteral("MetaData")].toObject(); |
114 | return factory; | 116 | return factory; |
115 | } else { | 117 | } else { |