summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/btscanner/service.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bluetooth/btscanner/service.cpp')
-rw-r--r--examples/bluetooth/btscanner/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/btscanner/service.cpp b/examples/bluetooth/btscanner/service.cpp
index c1db7cce..5e0f7da9 100644
--- a/examples/bluetooth/btscanner/service.cpp
+++ b/examples/bluetooth/btscanner/service.cpp
@@ -106,7 +106,7 @@ void ServiceDiscoveryDialog::addService(const QBluetoothServiceInfo &info)
void ServiceDiscoveryDialog::addLowEnergyService(const QLowEnergyServiceInfo &gatt)
{
- QString line = gatt.name();
+ QString line = gatt.serviceName();
ui->list->addItem(line);
}