diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-04-19 17:16:52 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-04-29 16:22:24 +0000 |
commit | 948d0357850918596b56f38a6dc6e25cd186f5a0 (patch) | |
tree | 2a522442757660b6eadecd3a6decde1f34ab5740 /src/input/frontend/qlogicaldevice.cpp | |
parent | ae5ac1128bc61176f797f6e248d18b9ced051ad9 (diff) |
Strip out cloning subsystem
Change-Id: I4def54a11de0f9c676ef6b2d7bd8e723ded25ab9
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qlogicaldevice.cpp')
-rw-r--r-- | src/input/frontend/qlogicaldevice.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/input/frontend/qlogicaldevice.cpp b/src/input/frontend/qlogicaldevice.cpp index 96be0438e..9737b4afa 100644 --- a/src/input/frontend/qlogicaldevice.cpp +++ b/src/input/frontend/qlogicaldevice.cpp @@ -246,16 +246,6 @@ QVector<QAxis *> QLogicalDevice::axes() const return d->m_axes; } -void QLogicalDevice::copy(const Qt3DCore::QNode *ref) -{ - QNode::copy(ref); - const QLogicalDevice *device = static_cast<const QLogicalDevice *>(ref); - Q_FOREACH (QAction *action, device->actions()) - d_func()->m_actions.push_back(qobject_cast<QAction *>(QNode::clone(action))); - Q_FOREACH (QAxis *axis, device->axes()) - d_func()->m_axes.push_back(qobject_cast<QAxis *>(QNode::clone(axis))); -} - Qt3DCore::QNodeCreatedChangeBasePtr QLogicalDevice::createNodeCreationChange() const { auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QLogicalDeviceData>::create(this); |