summaryrefslogtreecommitdiffstats
path: root/src/input/frontend/qphysicaldevicecreatedchange.cpp
diff options
context:
space:
mode:
authorSean Harmer <sean.harmer@kdab.com>2016-04-02 11:20:18 +0100
committerSean Harmer <sean.harmer@kdab.com>2016-04-10 18:05:18 +0000
commit57790ce854443736782096f51b4f1059082d7d6f (patch)
tree07810b257cb7b402feefae9a70d3e707999d7150 /src/input/frontend/qphysicaldevicecreatedchange.cpp
parentaa2fc7f52df62c910b12c0cf8046c3087f6ffe94 (diff)
Create proper pimpl type from QPhysicalDeviceCreatedChangeBase
Change-Id: I5d430a3ec2d5e18219d5e16fd9819b0ffac1e650 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qphysicaldevicecreatedchange.cpp')
-rw-r--r--src/input/frontend/qphysicaldevicecreatedchange.cpp3
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