summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/heartrate-game/devicehandler.cpp
diff options
context:
space:
mode:
authorAlex Blasche <alexander.blasche@qt.io>2020-05-13 10:28:58 +0200
committerAlex Blasche <alexander.blasche@qt.io>2020-05-14 12:53:25 +0000
commitc580f1fcad437174e83ce5857f285ce533af9b69 (patch)
treeef0a6c44aa3d956f08f99d7115f806b453ab0784 /examples/bluetooth/heartrate-game/devicehandler.cpp
parenta5344c74bdee705750bfa4bfc9d7ca4a6c4de87a (diff)
Rename QLEService::DiscoveringServices to DiscoveringService
Singular is a better fit to avoid the notion of several services being discovered at a given time. [ChangeLog][QtBluetooth][QLowEnergyService] Renamed DiscoveringServices enum value to DiscoveringService. Task-number: QTBUG-75344 Change-Id: I9ebe8a8ccba8bb49c55772ae81338f376826ee64 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/bluetooth/heartrate-game/devicehandler.cpp')
-rw-r--r--examples/bluetooth/heartrate-game/devicehandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/heartrate-game/devicehandler.cpp b/examples/bluetooth/heartrate-game/devicehandler.cpp
index 83a4fbbe..a3937738 100644
--- a/examples/bluetooth/heartrate-game/devicehandler.cpp
+++ b/examples/bluetooth/heartrate-game/devicehandler.cpp
@@ -202,7 +202,7 @@ void DeviceHandler::serviceScanDone()
void DeviceHandler::serviceStateChanged(QLowEnergyService::ServiceState s)
{
switch (s) {
- case QLowEnergyService::DiscoveringServices:
+ case QLowEnergyService::DiscoveringService:
setInfo(tr("Discovering services..."));
break;
case QLowEnergyService::ServiceDiscovered: