summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller_p.h
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@qt.io>2020-03-24 10:09:27 +0100
committerOliver Wolff <oliver.wolff@qt.io>2020-03-24 14:36:11 +0100
commit280cfd43012d1cfbfcd26fe57f633db3fc13a379 (patch)
treeb174ae86d90c0fc7cb14f7727ae2f96d5abd6c55 /src/bluetooth/qlowenergycontroller_p.h
parent3a5eb0237b6f8e5a129ca6054f4a2704f89431ec (diff)
QLowEnergyControllerPrivateWinRT::connectToDevice: Return early if LE device cannot be found
If the host does not support BTLE, connectToDevice will fail and mDevice will be zero. The return in this case was missing so that we tried to access a null pointer and caused an exception. Change-Id: Iba973f3980a2ecbb82d2cb6dd8d0f60a5bdf4890 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.h')
0 files changed, 0 insertions, 0 deletions