diff options
Diffstat (limited to 'src/input/backend/axissetting.cpp')
-rw-r--r-- | src/input/backend/axissetting.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/backend/axissetting.cpp b/src/input/backend/axissetting.cpp index e0a44f140..bcd10a478 100644 --- a/src/input/backend/axissetting.cpp +++ b/src/input/backend/axissetting.cpp @@ -40,7 +40,7 @@ #include "axissetting_p.h" #include <Qt3DInput/qaxissetting.h> #include <Qt3DInput/private/qaxissetting_p.h> -#include <Qt3DCore/qscenepropertychange.h> +#include <Qt3DCore/qnodepropertychange.h> QT_BEGIN_NAMESPACE @@ -97,7 +97,7 @@ void AxisSetting::cleanup() void AxisSetting::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) { if (e->type() == Qt3DCore::NodeUpdated) { - Qt3DCore::QScenePropertyChangePtr propertyChange = qSharedPointerCast<Qt3DCore::QScenePropertyChange>(e); + Qt3DCore::QNodePropertyChangePtr propertyChange = qSharedPointerCast<Qt3DCore::QNodePropertyChange>(e); if (propertyChange->propertyName() == QByteArrayLiteral("deadZoneRadius")) { m_deadZoneRadius = propertyChange->value().toFloat(); } else if (propertyChange->propertyName() == QByteArrayLiteral("axes")) { |