diff options
author | Paul Lemire <paul.lemire350@gmail.com> | 2016-02-25 19:44:14 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-03-05 10:17:57 +0000 |
commit | e0edb256b8fa9a7f459ab20f1554b7578dcb27a2 (patch) | |
tree | d3d1ac78e673cce3814474cb1adc60ccc03957db /src/input/backend/axis.cpp | |
parent | 00bd10a944e7d665abe356bb43e8c92d5ee0a7f4 (diff) |
QAxis: remove name property
Change-Id: I8149f0eafbac565470bd69c8382e8e78aa9bb3f6
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/backend/axis.cpp')
-rw-r--r-- | src/input/backend/axis.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/input/backend/axis.cpp b/src/input/backend/axis.cpp index 9f041f829..6ab34fc25 100644 --- a/src/input/backend/axis.cpp +++ b/src/input/backend/axis.cpp @@ -60,7 +60,6 @@ void Axis::updateFromPeer(Qt3DCore::QNode *peer) { QAxis *axis = static_cast<QAxis *>(peer); m_enabled = axis->isEnabled(); - m_name = axis->name(); Q_FOREACH (QAxisInput *input, axis->inputs()) m_inputs.push_back(input->id()); } @@ -69,7 +68,6 @@ void Axis::cleanup() { m_enabled = false; m_inputs.clear(); - m_name.clear(); m_axisValue = 0.0f; } @@ -93,8 +91,6 @@ void Axis::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) if (e->type() == Qt3DCore::NodeUpdated) { if (propertyChange->propertyName() == QByteArrayLiteral("enabled")) { m_enabled = propertyChange->value().toBool(); - } else if (propertyChange->propertyName() == QByteArrayLiteral("name")) { - m_name = propertyChange->value().toString(); } } else if (e->type() == Qt3DCore::NodeAdded) { if (propertyChange->propertyName() == QByteArrayLiteral("input")) |