diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-05-13 12:30:15 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-05-14 16:02:45 +0000 |
commit | 881fbf9a89b12669178987e5b4c58fedfb8eb9ff (patch) | |
tree | dbe23cb308f3cb53a780205224ef20027845255f /src/input | |
parent | 361660533d0cba9e1ec7667724522a7724c5fb1b (diff) |
De-inline dtors of aspect classes
Costs 170B each in Logic, Render, Input, but otherwise
we'll not be able to add code to the dtors down the line
until Qt 6.
Change-Id: Icf71bd959f2efa3c67bccaf166569e06a013fef1
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/frontend/qinputaspect.cpp | 5 | ||||
-rw-r--r-- | src/input/frontend/qinputaspect.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/input/frontend/qinputaspect.cpp b/src/input/frontend/qinputaspect.cpp index 917d2bc71..0a364e27b 100644 --- a/src/input/frontend/qinputaspect.cpp +++ b/src/input/frontend/qinputaspect.cpp @@ -146,6 +146,11 @@ QInputAspect::QInputAspect(QInputAspectPrivate &dd, QObject *parent) d->m_inputHandler->addInputDeviceIntegration(d->m_keyboardMouseIntegration.data()); } +/*! \internal */ +QInputAspect::~QInputAspect() +{ +} + void QInputAspectPrivate::loadInputDevicePlugins() { const QStringList keys = QInputDeviceIntegrationFactory::keys(); diff --git a/src/input/frontend/qinputaspect.h b/src/input/frontend/qinputaspect.h index f1b4aa1db..bc35256b6 100644 --- a/src/input/frontend/qinputaspect.h +++ b/src/input/frontend/qinputaspect.h @@ -56,6 +56,7 @@ class QT3DINPUTSHARED_EXPORT QInputAspect : public Qt3DCore::QAbstractAspect Q_OBJECT public: explicit QInputAspect(QObject *parent = nullptr); + ~QInputAspect(); QAbstractPhysicalDevice *createPhysicalDevice(const QString &name); QStringList availablePhysicalDevices() const; |