diff options
Diffstat (limited to 'src/render/materialsystem/filterkey_p.h')
-rw-r--r-- | src/render/materialsystem/filterkey_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/materialsystem/filterkey_p.h b/src/render/materialsystem/filterkey_p.h index 4aea3d78a..6a098861c 100644 --- a/src/render/materialsystem/filterkey_p.h +++ b/src/render/materialsystem/filterkey_p.h @@ -69,8 +69,8 @@ public: ~FilterKey(); void cleanup(); - QVariant value() const; - QString name() const; + const QVariant &value() const { return m_value; } + const QString &name() const { return m_name; } void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE; bool operator ==(const FilterKey &other); bool operator !=(const FilterKey &other); |