diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2017-10-24 16:46:03 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2017-11-03 13:08:45 +0000 |
commit | 59ae3cc2ac7baee7e9df1e6ceffcfc882fbe6121 (patch) | |
tree | 1c267a06201507d10dd4571942089b56c2d617f5 /src/bluetooth/qlowenergycontroller_bluez.cpp | |
parent | 4ab8bd20b590f96763dd93f4436327042fbd27da (diff) |
Introduce Base class for QLowEnergyControllerPrivate
This permits alternative implementations selectable at runtime.
Currently this is only used by Bluez.
Change-Id: I3ddeb7f888f3b09bdc62f10d5b9a36320500f329
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/bluetooth/qlowenergycontroller_bluez.cpp')
-rw-r--r-- | src/bluetooth/qlowenergycontroller_bluez.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bluetooth/qlowenergycontroller_bluez.cpp b/src/bluetooth/qlowenergycontroller_bluez.cpp index ca3f7760..1622ffb3 100644 --- a/src/bluetooth/qlowenergycontroller_bluez.cpp +++ b/src/bluetooth/qlowenergycontroller_bluez.cpp @@ -264,9 +264,7 @@ template<> void putDataAndIncrement(const QByteArray &value, char *&dst) } QLowEnergyControllerPrivate::QLowEnergyControllerPrivate() - : QObject(), - state(QLowEnergyController::UnconnectedState), - error(QLowEnergyController::NoError), + : QLowEnergyControllerPrivateBase(), lastLocalHandle(0), l2cpSocket(0), requestPending(false), mtuSize(ATT_DEFAULT_LE_MTU), |