diff --git a/src/gui/kernel/qinputdevice.cpp b/src/gui/kernel/qinputdevice.cpp index f7b216dcf0a..e515d5410bb 100644 --- a/src/gui/kernel/qinputdevice.cpp +++ b/src/gui/kernel/qinputdevice.cpp @@ -348,6 +348,7 @@ void QInputDevicePrivate::registerDevice(const QInputDevice *dev) { QMutexLocker lock(&devicesMutex); deviceList()->append(dev); + qCDebug(lcQpaInputDevices) << "Registered" << dev; } /*! @@ -357,6 +358,7 @@ void QInputDevicePrivate::unregisterDevice(const QInputDevice *dev) { QMutexLocker lock(&devicesMutex); deviceList()->removeOne(dev); + qCDebug(lcQpaInputDevices) << "Unregistered" << dev; } bool QInputDevice::operator==(const QInputDevice &other) const diff --git a/src/gui/kernel/qwindowsysteminterface.cpp b/src/gui/kernel/qwindowsysteminterface.cpp index 7154dac6884..3e88380ae56 100644 --- a/src/gui/kernel/qwindowsysteminterface.cpp +++ b/src/gui/kernel/qwindowsysteminterface.cpp @@ -576,7 +576,6 @@ bool QWindowSystemInterface::handleWheelEvent(QWindow *window, ulong timestamp, */ void QWindowSystemInterface::registerInputDevice(const QInputDevice *device) { - qCDebug(lcQpaInputDevices) << "register" << device; QInputDevicePrivate::registerDevice(device); }