summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartlistener/heartrate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/heartlistener/heartrate.cpp')
-rw-r--r--examples/bluetooth/heartlistener/heartrate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartlistener/heartrate.cpp b/examples/bluetooth/heartlistener/heartrate.cpp
index 7d135e5b..27461978 100644
--- a/examples/bluetooth/heartlistener/heartrate.cpp
+++ b/examples/bluetooth/heartlistener/heartrate.cpp
@@ -87,7 +87,7 @@ void HeartRate::deviceSearch()
void HeartRate::addDevice(const QBluetoothDeviceInfo &device)
{
- if (device.coreConfiguration() & QBluetoothDeviceInfo::LowEnergyCoreConfiguration) {
+ if (device.coreConfigurations() & QBluetoothDeviceInfo::LowEnergyCoreConfiguration) {
QBluetoothLocalDevice localDevice;
QBluetoothLocalDevice::Pairing pairingStatus = localDevice.pairingStatus(device.address());
if (pairingStatus == QBluetoothLocalDevice::Paired || pairingStatus == QBluetoothLocalDevice::AuthorizedPaired )