diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-09-25 11:10:13 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2018-09-26 06:21:33 +0000 |
commit | 343eea046cda781a224b94d1620f9325574837f7 (patch) | |
tree | c6aa5c3a0477e539c3cb2f2c918989c3b5a2ff0c /src/bluetooth/qbluetoothlocaldevice_p.h | |
parent | a48a19d9db855973f7f0d89ca0759fd7f6856f55 (diff) |
Minor code cleanup for QBluetoothLocalDevice implementation on Android
Change-Id: I22da03879c23f6b6842cb832cea0cfee6e016445
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothlocaldevice_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.h b/src/bluetooth/qbluetoothlocaldevice_p.h index 8752504d..89dbf9a3 100644 --- a/src/bluetooth/qbluetoothlocaldevice_p.h +++ b/src/bluetooth/qbluetoothlocaldevice_p.h @@ -117,13 +117,13 @@ private slots: private: QBluetoothLocalDevice *q_ptr; - QAndroidJniObject *obj; + QAndroidJniObject *obj = nullptr; int pendingPairing(const QBluetoothAddress &address); public: LocalDeviceBroadcastReceiver *receiver; - bool pendingHostModeTransition; + bool pendingHostModeTransition = false; QList<QPair<QBluetoothAddress, bool> > pendingPairings; QList<QBluetoothAddress> connectedDevices; |