From cdc3ee8b00380ad208561e6c9bf575762fa398fb Mon Sep 17 00:00:00 2001 From: Nedim Hadzic Date: Wed, 19 Feb 2014 15:59:53 +0100 Subject: Renaming QLowEnergyServiceInfo methods Ensures that QLowEnergyServiceInfo and QBluetoothServiceInfo are more alike. Tests and examples updated as well. Change-Id: I0f6a97900891a9673f99578bdc8d156a8c403513 Reviewed-by: Alex Blasche --- examples/bluetooth/btscanner/service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/bluetooth/btscanner/service.cpp') 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); } -- cgit v1.2.3