summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qinputdevicemanager_p.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-05-13 13:20:23 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2015-05-27 11:50:39 +0000
commit3311d92d8ed46426e19000d1e3b94029b9058983 (patch)
tree5437425f3897171fc1454a4abfaa0559f20d03ec /src/gui/kernel/qinputdevicemanager_p.h
parentd2da14a9e05381eb3dd70071001dce72b2a465f3 (diff)
Fix failing input device notifications on embedded
The connection to the deviceListChanged() signal may be queued. To make it work our custom types have to be registered. The problem is only visible with input backends like evdevtouch that live on their own thread. Task-number: QTBUG-46069 Change-Id: I4c03e8031e4337b5e711a3bd2cf405d15d6ce214 Reviewed-by: Gatis Paeglis <gatis.paeglis@digia.com>
Diffstat (limited to 'src/gui/kernel/qinputdevicemanager_p.h')
-rw-r--r--src/gui/kernel/qinputdevicemanager_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qinputdevicemanager_p.h b/src/gui/kernel/qinputdevicemanager_p.h
index 15c84d1a82..d64793c23c 100644
--- a/src/gui/kernel/qinputdevicemanager_p.h
+++ b/src/gui/kernel/qinputdevicemanager_p.h
@@ -77,4 +77,6 @@ signals:
QT_END_NAMESPACE
+Q_DECLARE_METATYPE(QInputDeviceManager::DeviceType)
+
#endif // QINPUTDEVICEMANAGER_P_H