diff options
Diffstat (limited to 'src/input/frontend/qphysicaldevicecreatedchange.cpp')
-rw-r--r-- | src/input/frontend/qphysicaldevicecreatedchange.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/frontend/qphysicaldevicecreatedchange.cpp b/src/input/frontend/qphysicaldevicecreatedchange.cpp index 10059d77e..ff976c1b8 100644 --- a/src/input/frontend/qphysicaldevicecreatedchange.cpp +++ b/src/input/frontend/qphysicaldevicecreatedchange.cpp @@ -52,8 +52,9 @@ QPhysicalDeviceCreatedChangeBasePrivate::QPhysicalDeviceCreatedChangeBasePrivate } QPhysicalDeviceCreatedChangeBase::QPhysicalDeviceCreatedChangeBase(const QAbstractPhysicalDevice *device, Priority priority) - : Qt3DCore::QNodeCreatedChangeBase(device, priority) + : Qt3DCore::QNodeCreatedChangeBase(*new QPhysicalDeviceCreatedChangeBasePrivate(device)) { + d_func()->m_priority = priority; } Qt3DCore::QNodeIdVector QPhysicalDeviceCreatedChangeBase::axisSettingIds() const |