diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2021-08-05 08:38:45 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2021-08-06 13:02:44 +0200 |
commit | 066dd1cdc0660d2e47bbcbad3c119d7029e08ecc (patch) | |
tree | 946a360c3b3ec13ae113d60809cce21c336d5a70 /src/gui/kernel/qinputdevicemanager.cpp | |
parent | 6336b5350b68e6430a7585d6658a9d653689186f (diff) |
QInputDeviceManager: ++explicit, ++out-of-line-dtors
It's private API, but exported, so de-inline the dtor to pin the
vtable in QtCore instead of potentially duplicating it in every plugin
that uses the class.
Change-Id: Ia948985bb94677c8453a8e7be27a14085303aaf5
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Diffstat (limited to 'src/gui/kernel/qinputdevicemanager.cpp')
-rw-r--r-- | src/gui/kernel/qinputdevicemanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputdevicemanager.cpp b/src/gui/kernel/qinputdevicemanager.cpp index 11442407e1..254b130461 100644 --- a/src/gui/kernel/qinputdevicemanager.cpp +++ b/src/gui/kernel/qinputdevicemanager.cpp @@ -67,6 +67,8 @@ QInputDeviceManager::QInputDeviceManager(QObject *parent) qRegisterMetaType<DeviceType>(); } +QInputDeviceManager::~QInputDeviceManager() = default; + int QInputDeviceManager::deviceCount(DeviceType type) const { Q_D(const QInputDeviceManager); |