diff options
author | Alex Blasche <alexander.blasche@digia.com> | 2014-06-04 10:28:30 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-06-04 13:42:15 +0200 |
commit | b37dcff2f43e573771d3da89a35aa8e135f1c795 (patch) | |
tree | ed2de5b052db53a0bd0cc946091182101bc9d9f3 /src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp | |
parent | 7abb1f0464e4ba6ffba07f8e9ec71aa4d14b85ca (diff) |
QBluetoothDeviceInfo::coreConfiguration() should return the QFlag
Function name was slightly adjusted to reflect the fact that it's a
flag.
Change-Id: I9c1a2fe64b93c7ae7bd826d856f8b87f985d7473
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp')
-rw-r--r-- | src/bluetooth/qbluetoothdevicediscoveryagent_bluez.cpp | 4 |
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) { |