diff options
author | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-01-14 15:38:53 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@theqtcompany.com> | 2016-01-15 09:42:48 +0000 |
commit | 4a44e0b40422680401c0fd6f588618d2c7a0ff2c (patch) | |
tree | 90acae791a07a48c0deba14bf90be33599eb4338 /src/bluetooth/qlowenergycontroller_p.cpp | |
parent | 6b3ef058614fe07942a3506fd4191d12b3659fe9 (diff) |
Bluetooth LE: Fix premature initialization of HCI manager.
The private class used a member in its constructor that was only set
afterwards.
Change-Id: I19b7ca2a5048771a447d63a56ad10ad56c311e91
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_p.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_p.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.cpp b/src/bluetooth/qlowenergycontroller_p.cpp index 79addae2..c16e2733 100644 --- a/src/bluetooth/qlowenergycontroller_p.cpp +++ b/src/bluetooth/qlowenergycontroller_p.cpp @@ -47,6 +47,10 @@ QLowEnergyControllerPrivate::~QLowEnergyControllerPrivate() { } +void QLowEnergyControllerPrivate::init() +{ +} + void QLowEnergyControllerPrivate::connectToDevice() { // required to pass unit test on default backend |