diff options
Diffstat (limited to 'common/domain/applicationdomaintype.cpp')
-rw-r--r-- | common/domain/applicationdomaintype.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/domain/applicationdomaintype.cpp b/common/domain/applicationdomaintype.cpp index 23a63a7..27f94ce 100644 --- a/common/domain/applicationdomaintype.cpp +++ b/common/domain/applicationdomaintype.cpp | |||
@@ -88,6 +88,12 @@ void ApplicationDomainType::setProperty(const QByteArray &key, const QVariant &v | |||
88 | mAdaptor->setProperty(key, value); | 88 | mAdaptor->setProperty(key, value); |
89 | } | 89 | } |
90 | 90 | ||
91 | void ApplicationDomainType::setProperty(const QByteArray &key, const ApplicationDomainType &value) | ||
92 | { | ||
93 | Q_ASSERT(!value.identifier().isEmpty()); | ||
94 | setProperty(key, value.identifier()); | ||
95 | } | ||
96 | |||
91 | QByteArray ApplicationDomainType::getBlobProperty(const QByteArray &key) const | 97 | QByteArray ApplicationDomainType::getBlobProperty(const QByteArray &key) const |
92 | { | 98 | { |
93 | const auto path = getProperty(key).toByteArray(); | 99 | const auto path = getProperty(key).toByteArray(); |