diff options
Diffstat (limited to 'src/bluetooth/qbluetoothlocaldevice_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothlocaldevice_p.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/bluetooth/qbluetoothlocaldevice_p.h b/src/bluetooth/qbluetoothlocaldevice_p.h index a52b683c..038effcd 100644 --- a/src/bluetooth/qbluetoothlocaldevice_p.h +++ b/src/bluetooth/qbluetoothlocaldevice_p.h @@ -140,13 +140,13 @@ public: QSet<OrgBluezDeviceInterface *> devices; QSet<QBluetoothAddress> connectedDevicesSet; - OrgBluezAdapterInterface *adapter; //Bluez 4 - OrgBluezAdapter1Interface *adapterBluez5; //Bluez 5 - OrgFreedesktopDBusPropertiesInterface *adapterProperties; //Bluez 5 - OrgFreedesktopDBusObjectManagerInterface *managerBluez5; //Bluez 5 + OrgBluezAdapterInterface *adapter = nullptr; //Bluez 4 + OrgBluezAdapter1Interface *adapterBluez5 = nullptr; //Bluez 5 + OrgFreedesktopDBusPropertiesInterface *adapterProperties = nullptr; //Bluez 5 + OrgFreedesktopDBusObjectManagerInterface *managerBluez5 = nullptr; //Bluez 5 QMap<QString, OrgFreedesktopDBusPropertiesInterface *> deviceChangeMonitors; //Bluez 5 - OrgBluezAgentAdaptor *agent; - OrgBluezManagerInterface *manager; + OrgBluezAgentAdaptor *agent = nullptr; + OrgBluezManagerInterface *manager = nullptr; QList<QBluetoothAddress> connectedDevices() const; @@ -154,8 +154,8 @@ public: QBluetoothAddress localAddress; QBluetoothAddress address; QBluetoothLocalDevice::Pairing pairing; - OrgBluezDevice1Interface *pairingTarget; - QTimer *pairingDiscoveryTimer; + OrgBluezDevice1Interface *pairingTarget = nullptr; + QTimer *pairingDiscoveryTimer = nullptr; QBluetoothLocalDevice::HostMode currentMode; int pendingHostModeChange; @@ -199,7 +199,7 @@ private: void connectDeviceChanges(); QDBusMessage msgConfirmation; - QDBusConnection *msgConnection; + QDBusConnection *msgConnection = nullptr; QString deviceAdapterPath; QBluetoothLocalDevice *q_ptr; |