diff options
author | Alex Blasche <alexander.blasche@qt.io> | 2020-05-13 10:28:58 +0200 |
---|---|---|
committer | Alex Blasche <alexander.blasche@qt.io> | 2020-05-14 12:53:25 +0000 |
commit | c580f1fcad437174e83ce5857f285ce533af9b69 (patch) | |
tree | ef0a6c44aa3d956f08f99d7115f806b453ab0784 /examples/bluetooth/lowenergyscanner/device.cpp | |
parent | a5344c74bdee705750bfa4bfc9d7ca4a6c4de87a (diff) | |
download | qtconnectivity-c580f1fcad437174e83ce5857f285ce533af9b69.tar.gz |
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/lowenergyscanner/device.cpp')
-rw-r--r-- | examples/bluetooth/lowenergyscanner/device.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bluetooth/lowenergyscanner/device.cpp b/examples/bluetooth/lowenergyscanner/device.cpp index e1d96be3..937ff4b4 100644 --- a/examples/bluetooth/lowenergyscanner/device.cpp +++ b/examples/bluetooth/lowenergyscanner/device.cpp @@ -320,7 +320,7 @@ void Device::serviceDetailsDiscovered(QLowEnergyService::ServiceState newState) // in case the service discovery failed // We have to queue the signal up to give UI time to even enter // the above mode - if (newState != QLowEnergyService::DiscoveringServices) { + if (newState != QLowEnergyService::DiscoveringService) { QMetaObject::invokeMethod(this, "characteristicsUpdated", Qt::QueuedConnection); } |