From 7a310b1f813e3f3c2759c7b316ed9af30f57d5cd Mon Sep 17 00:00:00 2001 From: Paul Lemire Date: Thu, 28 Mar 2019 10:09:34 +0100 Subject: QChannelMapping: only send const char *propertyName to backend It was otherwise sending a QString property as well as the const char *propertyName. Given only propertyName is actually used, remove QString property from the backend to avoid useless confusion and stop sending the notification change. Change-Id: Ie26771e320e26d44d7fce3e0a864bad1d4df558f Reviewed-by: Mike Krus --- src/animation/backend/channelmapping_p.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/animation/backend/channelmapping_p.h') diff --git a/src/animation/backend/channelmapping_p.h b/src/animation/backend/channelmapping_p.h index 5159adae2..aa30e84ee 100644 --- a/src/animation/backend/channelmapping_p.h +++ b/src/animation/backend/channelmapping_p.h @@ -84,9 +84,6 @@ public: void setTargetId(Qt3DCore::QNodeId targetId) { m_targetId = targetId; } Qt3DCore::QNodeId targetId() const { return m_targetId; } - void setProperty(const QString &property) { m_property = property; } - QString property() const { return m_property; } - void setType(int type) { m_type = type; } int type() const { return m_type; } @@ -115,7 +112,6 @@ private: // Properties from QChannelMapping QString m_channelName; Qt3DCore::QNodeId m_targetId; - QString m_property; int m_type; int m_componentCount; const char *m_propertyName; -- cgit v1.2.3