From b37dcff2f43e573771d3da89a35aa8e135f1c795 Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Wed, 4 Jun 2014 10:28:30 +0200 Subject: 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 Reviewed-by: Alex Blasche --- examples/bluetooth/lowenergyscanner/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/bluetooth/lowenergyscanner/device.cpp') diff --git a/examples/bluetooth/lowenergyscanner/device.cpp b/examples/bluetooth/lowenergyscanner/device.cpp index d137fd40..8f899354 100644 --- a/examples/bluetooth/lowenergyscanner/device.cpp +++ b/examples/bluetooth/lowenergyscanner/device.cpp @@ -95,7 +95,7 @@ void Device::startDeviceDiscovery() void Device::addDevice(const QBluetoothDeviceInfo &info) { - if (info.coreConfiguration() & QBluetoothDeviceInfo::LowEnergyCoreConfiguration) { + if (info.coreConfigurations() & QBluetoothDeviceInfo::LowEnergyCoreConfiguration) { DeviceInfo *d = new DeviceInfo(info); devices.append(d); setUpdate("Last device added: " + d->getName()); -- cgit v1.2.3