summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/serviceinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/lowenergyscanner/serviceinfo.cpp')
-rw-r--r--examples/bluetooth/lowenergyscanner/serviceinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/bluetooth/lowenergyscanner/serviceinfo.cpp b/examples/bluetooth/lowenergyscanner/serviceinfo.cpp
index d1223bdc..1028fb40 100644
--- a/examples/bluetooth/lowenergyscanner/serviceinfo.cpp
+++ b/examples/bluetooth/lowenergyscanner/serviceinfo.cpp
@@ -57,12 +57,12 @@ QLowEnergyServiceInfo ServiceInfo::getLeService() const
return m_serviceLe;
}
-QString ServiceInfo::getName()
+QString ServiceInfo::getName() const
{
return m_serviceLe.serviceName();
}
-QString ServiceInfo::getUuid()
+QString ServiceInfo::getUuid() const
{
return m_serviceLe.serviceUuid().toString().remove(QLatin1Char('{')).remove(QLatin1Char('}'));
}