summaryrefslogtreecommitdiffstats
path: root/src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp')
-rw-r--r--src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp b/src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp
index fd2c5703..f70c3e64 100644
--- a/src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp
+++ b/src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp
@@ -314,9 +314,9 @@ void QBluetoothDeviceDiscoveryAgentPrivate::_q_deviceFound(const QString &addres
* Low Energy devices do not have property Class.
*/
if (btClass == 0)
- device.setCoreConfiguration(QBluetoothDeviceInfo::LowEnergyCoreConfiguration);
+ device.setCoreConfigurations(QBluetoothDeviceInfo::LowEnergyCoreConfiguration);
else
- device.setCoreConfiguration(QBluetoothDeviceInfo::BaseRateCoreConfiguration);
+ device.setCoreConfigurations(QBluetoothDeviceInfo::BaseRateCoreConfiguration);
for (int i = 0; i < discoveredDevices.size(); i++) {
if (discoveredDevices[i].address() == device.address()) {
if (discoveredDevices[i] == device) {