diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2018-09-18 13:53:24 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2018-10-09 07:47:56 +0000 |
commit | fac56a229b45395488f3e41bf178361c72b3ee1e (patch) | |
tree | ae99681642099d2bd3cb42fc66804f61c6f65aab /src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm | |
parent | 7ef3dfbd4354367ad78040010aa851943b7b9e75 (diff) |
Deprecate QBluetoothDeviceInfo::DataCompleteness with Qt 6 in mind
The patch deprecates the mentioned enum and all users of it. In addition,
QList usage is replaced by QVector (which is a design pattern in Qt).
Task-number: QTBUG-62425
Change-Id: I63e8dceb03ed231d0d06709896a1aad2b6bb31a3
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm b/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm index 4657da82..3cf3b08d 100644 --- a/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm +++ b/src/bluetooth/qbluetoothdevicediscoveryagent_osx.mm @@ -423,8 +423,8 @@ void QBluetoothDeviceDiscoveryAgentPrivate::deviceFound(IOBluetoothDeviceInquiry deviceInfo.setCoreConfigurations(QBluetoothDeviceInfo::BaseRateCoreConfiguration); deviceInfo.setRssi(device.RSSI); - const QList<QBluetoothUuid> uuids(OSXBluetooth::extract_services_uuids(device)); - deviceInfo.setServiceUuids(uuids, QBluetoothDeviceInfo::DataIncomplete); + const QVector<QBluetoothUuid> uuids(OSXBluetooth::extract_services_uuids(device)); + deviceInfo.setServiceUuids(uuids); deviceFound(deviceInfo); } |