diff options
Diffstat (limited to 'src/bluetooth/qbluetoothservicediscoveryagent_p.h')
-rw-r--r-- | src/bluetooth/qbluetoothservicediscoveryagent_p.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_p.h b/src/bluetooth/qbluetoothservicediscoveryagent_p.h index 2a57c531..dbf8b1d4 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent_p.h +++ b/src/bluetooth/qbluetoothservicediscoveryagent_p.h @@ -178,23 +178,23 @@ private: DiscoveryState state; QList<QBluetoothUuid> uuidFilter; - QBluetoothDeviceDiscoveryAgent *deviceDiscoveryAgent; + QBluetoothDeviceDiscoveryAgent *deviceDiscoveryAgent = nullptr; QBluetoothServiceDiscoveryAgent::DiscoveryMode mode; bool singleDevice; #if QT_CONFIG(bluez) QString foundHostAdapterPath; - OrgBluezManagerInterface *manager; - OrgFreedesktopDBusObjectManagerInterface *managerBluez5; - OrgBluezAdapterInterface *adapter; - OrgBluezDeviceInterface *device; - QProcess *sdpScannerProcess; + OrgBluezManagerInterface *manager = nullptr; + OrgFreedesktopDBusObjectManagerInterface *managerBluez5 = nullptr; + OrgBluezAdapterInterface *adapter = nullptr; + OrgBluezDeviceInterface *device = nullptr; + QProcess *sdpScannerProcess = nullptr; #endif #ifdef QT_ANDROID_BLUETOOTH - ServiceDiscoveryBroadcastReceiver *receiver; - LocalDeviceBroadcastReceiver *localDeviceReceiver; + ServiceDiscoveryBroadcastReceiver *receiver = nullptr; + LocalDeviceBroadcastReceiver *localDeviceReceiver = nullptr; QAndroidJniObject btAdapter; QMap<QBluetoothAddress,QPair<QBluetoothDeviceInfo,QList<QBluetoothUuid> > > sdpCache; |