summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qlowenergycontroller_p.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-01-14 15:38:53 +0100
committerChristian Kandeler <christian.kandeler@theqtcompany.com>2016-01-15 09:42:48 +0000
commit4a44e0b40422680401c0fd6f588618d2c7a0ff2c (patch)
tree90acae791a07a48c0deba14bf90be33599eb4338 /src/bluetooth/qlowenergycontroller_p.h
parent6b3ef058614fe07942a3506fd4191d12b3659fe9 (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.h')
-rw-r--r--src/bluetooth/qlowenergycontroller_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bluetooth/qlowenergycontroller_p.h b/src/bluetooth/qlowenergycontroller_p.h
index 40318700..fae26149 100644
--- a/src/bluetooth/qlowenergycontroller_p.h
+++ b/src/bluetooth/qlowenergycontroller_p.h
@@ -96,6 +96,8 @@ public:
QLowEnergyControllerPrivate();
~QLowEnergyControllerPrivate();
+ void init();
+
void setError(QLowEnergyController::Error newError);
bool isValidLocalAdapter();