diff options
author | Sean Harmer <sean.harmer@kdab.com> | 2016-03-25 13:28:20 +0000 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-03-31 07:34:47 +0000 |
commit | 5721663901a0fb8dca92a355ca6cd319869cb5d2 (patch) | |
tree | cba484da6b7bf098c68d70a091ae5fc59539e700 /src/input/frontend/qkeyboarddevice.cpp | |
parent | c7f5e199ca9a5e9e92fc464304a420e9c693de73 (diff) |
Don't create creation changes for QKeyboardDevice
We can rely upon the base class as the only additional property is
the active handler id which is managed by the backend (it's a read-only
property).
Change-Id: Ifb74d8f6208f8e8e429ad8bb2913439d1e7c2599
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/input/frontend/qkeyboarddevice.cpp')
-rw-r--r-- | src/input/frontend/qkeyboarddevice.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/input/frontend/qkeyboarddevice.cpp b/src/input/frontend/qkeyboarddevice.cpp index 97ddbcb5f..eb9c6793e 100644 --- a/src/input/frontend/qkeyboarddevice.cpp +++ b/src/input/frontend/qkeyboarddevice.cpp @@ -294,17 +294,6 @@ void QKeyboardDevice::setActiveInput(QKeyboardHandler *activeInput) } } -Qt3DCore::QNodeCreatedChangeBasePtr QKeyboardDevice::createNodeCreationChange() const -{ - auto creationChange = Qt3DCore::QNodeCreatedChangePtr<QKeyboardDeviceData>::create(this); - auto &data = creationChange->data; - - Q_D(const QKeyboardDevice); - data.activeInputId = qIdForNode(d->m_activeInput); - - return creationChange; -} - } // namespace Qt3DInput QT_END_NAMESPACE |