diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2019-10-10 15:15:53 +0200 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2019-10-11 14:11:28 +0200 |
commit | 245f19122c2a6a112a35ee65556bcf00b6545d87 (patch) | |
tree | 03b701a54be3dd25550d9a7b18cecdccdb2adc7e /src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp | |
parent | 7390de230e3c86049824bef756e4af623a547d61 (diff) |
qbluetoothdevicediscoveryagent_winrt: Decrement device count in case of failure
It is possible that obtaining a paired device inside the callback fails,
if the device was paired to another than the currently active bluetooth
adapter. If we do not decrement the to be detected device count, the scan
will never finish.
Change-Id: I86140d082891482c759f33888b2483f3f5821253
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp')
0 files changed, 0 insertions, 0 deletions