diff options
Diffstat (limited to 'examples/bluetooth/heartlistener/heartrate.cpp')
-rw-r--r-- | examples/bluetooth/heartlistener/heartrate.cpp | 2 |
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 ) |