summaryrefslogtreecommitdiffstats
path: root/common/domainadaptor.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/domainadaptor.h')
-rw-r--r--common/domainadaptor.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/common/domainadaptor.h b/common/domainadaptor.h
index e97c5f5..8ac8171 100644
--- a/common/domainadaptor.h
+++ b/common/domainadaptor.h
@@ -94,14 +94,13 @@ public:
94 { 94 {
95 } 95 }
96 96
97 virtual QVariant setProperty(const QByteArray &key, const QVariant &value) const 97 virtual void setProperty(const QByteArray &key, const QVariant &value) Q_DECL_OVERRIDE
98 { 98 {
99 Q_ASSERT(false);
100 Warning() << "Can't set property " << key; 99 Warning() << "Can't set property " << key;
101 return QVariant(); 100 Q_ASSERT(false);
102 } 101 }
103 102
104 virtual QVariant getProperty(const QByteArray &key) const 103 virtual QVariant getProperty(const QByteArray &key) const Q_DECL_OVERRIDE
105 { 104 {
106 if (mResourceBuffer && mResourceMapper->hasMapping(key)) { 105 if (mResourceBuffer && mResourceMapper->hasMapping(key)) {
107 return mResourceMapper->getProperty(key, mResourceBuffer); 106 return mResourceMapper->getProperty(key, mResourceBuffer);