summaryrefslogtreecommitdiffstats
path: root/src/input/backend/logicaldevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/backend/logicaldevice.cpp')
-rw-r--r--src/input/backend/logicaldevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/backend/logicaldevice.cpp b/src/input/backend/logicaldevice.cpp
index 0b730a0f8..bf43c19d9 100644
--- a/src/input/backend/logicaldevice.cpp
+++ b/src/input/backend/logicaldevice.cpp
@@ -43,7 +43,7 @@
#include <Qt3DInput/qaction.h>
#include <Qt3DInput/private/inputmanagers_p.h>
#include <Qt3DInput/private/qlogicaldevice_p.h>
-#include <Qt3DCore/qscenepropertychange.h>
+#include <Qt3DCore/qnodepropertychange.h>
QT_BEGIN_NAMESPACE
@@ -82,7 +82,7 @@ void LogicalDevice::cleanup()
void LogicalDevice::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e)
{
- Qt3DCore::QScenePropertyChangePtr propertyChange = qSharedPointerCast<Qt3DCore::QScenePropertyChange>(e);
+ Qt3DCore::QNodePropertyChangePtr propertyChange = qSharedPointerCast<Qt3DCore::QNodePropertyChange>(e);
if (e->type() == Qt3DCore::NodeAdded) {
if (propertyChange->propertyName() == QByteArrayLiteral("axis"))
m_axes.push_back(propertyChange->value().value<Qt3DCore::QNodeId>());