diff options
Diffstat (limited to 'src/input/frontend/qabstractphysicaldevice.cpp')
-rw-r--r-- | src/input/frontend/qabstractphysicaldevice.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input/frontend/qabstractphysicaldevice.cpp b/src/input/frontend/qabstractphysicaldevice.cpp index 6f13f0892..018fecc8d 100644 --- a/src/input/frontend/qabstractphysicaldevice.cpp +++ b/src/input/frontend/qabstractphysicaldevice.cpp @@ -39,6 +39,7 @@ #include "qabstractphysicaldevice.h" #include "qabstractphysicaldevice_p.h" +#include <Qt3DInput/qphysicaldevicecreatedchange.h> #include <Qt3DCore/qscenepropertychange.h> #include <Qt3DCore/private/qnode_p.h> @@ -215,6 +216,12 @@ void QAbstractPhysicalDevice::copy(const QNode *ref) d_func()->m_buttonsHash = physicalDevice->d_func()->m_buttonsHash; } +Qt3DCore::QNodeCreatedChangeBasePtr QAbstractPhysicalDevice::createNodeCreationChange() const +{ + auto creationChange = QPhysicalDeviceCreatedChangeBasePtr::create(this); + return creationChange; +} + } QT_END_NAMESPACE |