summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetooth.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2019-06-07 09:24:11 +0200
committerOliver Wolff <oliver.wolff@qt.io>2019-06-18 09:52:08 +0200
commite511f35a90608a4fb144b2c3dac37986d81cb41c (patch)
treea5b3baea356219fb1b59919102b4356baf59da0d /src/bluetooth/qbluetooth.cpp
parentd755f7ab67a1f5b345caf09b1fc798d3c6e0ca34 (diff)
winrt: Add service thread logging
We can run into problems if the list of low energy services is changed from threads other than the main thread. Make it possible to log this information in order to debug these problems more easily. Task-number: QTBUG-75907 Change-Id: Icda8dff45b8c1a72291ade0b1d6f734ab485a241 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetooth.cpp')
-rw-r--r--src/bluetooth/qbluetooth.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bluetooth/qbluetooth.cpp b/src/bluetooth/qbluetooth.cpp
index 6eab11fb..b14c79cd 100644
--- a/src/bluetooth/qbluetooth.cpp
+++ b/src/bluetooth/qbluetooth.cpp
@@ -102,5 +102,6 @@ Q_LOGGING_CATEGORY(QT_BT, "qt.bluetooth")
Q_LOGGING_CATEGORY(QT_BT_ANDROID, "qt.bluetooth.android")
Q_LOGGING_CATEGORY(QT_BT_BLUEZ, "qt.bluetooth.bluez")
Q_LOGGING_CATEGORY(QT_BT_WINRT, "qt.bluetooth.winrt")
+Q_LOGGING_CATEGORY(QT_BT_WINRT_SERVICE_THREAD, "qt.bluetooth.winrt.service.thread")
QT_END_NAMESPACE