From 8b6881d13f569acaec75e4a669c467c2768678ad Mon Sep 17 00:00:00 2001 From: Alex Blasche Date: Fri, 6 Jun 2014 13:39:15 +0200 Subject: Make lowenergyscanner example compile after recent API changes The handle of a characteristic is not longer a string but a number. Change-Id: Ic580ec8e365076704192a466cca9a6bf06786f58 Reviewed-by: Aaron McCarthy --- examples/bluetooth/lowenergyscanner/characteristicinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/bluetooth') diff --git a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp index 10b8fad6..2a69529a 100644 --- a/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp +++ b/examples/bluetooth/lowenergyscanner/characteristicinfo.cpp @@ -82,7 +82,7 @@ QString CharacteristicInfo::getValue() const QString CharacteristicInfo::getHandle() const { - return m_characteristic.handle(); + return QStringLiteral("0x") + QString::number(m_characteristic.handle(), 16); } QString CharacteristicInfo::getPermission() const -- cgit v1.2.3