From b7f4825cbf24c357d2f562ecdd81bc5109f4439f Mon Sep 17 00:00:00 2001 From: Wolfgang Bremer Date: Mon, 22 Sep 2014 13:59:49 +0200 Subject: QNX/BB10 fix build failure service was not declared, it should be lowEnergyService Change-Id: I1419dbaa865b0bcce51ad2e8cf13c24cef40f1fa Reviewed-by: Alex Blasche --- src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp b/src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp index 7fe0fad7..69d50e29 100644 --- a/src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp +++ b/src/bluetooth/qbluetoothservicediscoveryagent_qnx.cpp @@ -373,7 +373,7 @@ void QBluetoothServiceDiscoveryAgentPrivate::remoteDevicesChanged(int fd) protocol << QVariant::fromValue(QBluetoothUuid(QBluetoothUuid::Att)); protocolDescriptorList.append(QVariant::fromValue(protocol)); } - service.setAttribute(QBluetoothServiceInfo::ProtocolDescriptorList, protocolDescriptorList); + lowEnergyService.setAttribute(QBluetoothServiceInfo::ProtocolDescriptorList, protocolDescriptorList); qCDebug(QT_BT_QNX) << "Adding Low Energy service" << leUuid; -- cgit v1.2.3