summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/input/frontend/qmousedevice.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/frontend/qmousedevice.cpp b/src/input/frontend/qmousedevice.cpp
index a71a11199..a483ee842 100644
--- a/src/input/frontend/qmousedevice.cpp
+++ b/src/input/frontend/qmousedevice.cpp
@@ -39,7 +39,7 @@
#include "qmousedevice.h"
#include "qmousedevice_p.h"
-#include <Qt3DCore/qnodecreatedchange.h>
+#include <Qt3DInput/qphysicaldevicecreatedchange.h>
#include <Qt3DCore/qentity.h>
QT_BEGIN_NAMESPACE
@@ -150,7 +150,7 @@ void QMouseDevice::sceneChangeEvent(const Qt3DCore::QSceneChangePtr &change)
Qt3DCore::QNodeCreatedChangeBasePtr QMouseDevice::createNodeCreationChange() const
{
- auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QMouseDeviceData>::create(this);
+ auto creationChange = QPhysicalDeviceCreatedChangePtr<QMouseDeviceData>::create(this);
auto &data = creationChange->data;
Q_D(const QMouseDevice);