summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@digia.com>2014-06-06 13:39:15 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-06-11 12:03:32 +0200
commit8b6881d13f569acaec75e4a669c467c2768678ad (patch)
treeba93426fe6023c43ba85d006670aee64797538d8 /examples
parentbc7ccdb362b79c441010175bbae1421089d291e2 (diff)
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 <mccarthy.aaron@gmail.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/bluetooth/lowenergyscanner/characteristicinfo.cpp2
1 files changed, 1 insertions, 1 deletions
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