diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2016-09-08 09:51:00 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2016-10-07 09:11:07 +0000 |
commit | 9f3b5a7d07cbb3a3c0fbcce932a8295b56beca8a (patch) | |
tree | 49389901e4d99ec486c674093c150a8a5f108978 /src/bluetooth/qbluetoothdevicediscoveryagent_p.h | |
parent | bd7dda4614eb776c40a1eb3b6f1bbe531fa8abb5 (diff) |
winrt: Enable BTLE support for Windows 10 (Mobile)
As Windows 10 (Mobile) asks for permission before the user is able
to use a Bluetooth (LE) device, the synchronous approach does not work any
more.
While implementing that new asynchronous way the sources were also
cleaned up to be more readable (separate declaration and definition of
QWinRTBluetoothDeviceDiscoveryWorker).
As device discovery and Bluetooth LE work as expected on Windows 10
(Mobile) it is enabled by default now.
Task-number: QTBUG-55862
Change-Id: I9e4a8d21d013b9eaf603380a784afdda3e1ab9ec
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h index 94d4f50b..de8006be 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_p.h @@ -161,8 +161,7 @@ private: #ifdef QT_WINRT_BLUETOOTH private slots: - void onListInitializationCompleted(); - void onLeDeviceFound(const QBluetoothDeviceInfo &info); + void registerDevice(const QBluetoothDeviceInfo &info); void onScanFinished(); void onScanCanceled(); |