Skip to content

QBluetoothUuid: remove default case labels and fix the fallout

Learn to love -Wswitch and avoid default case labels even at the cost of having a few enumerator cases "too many". They help catch mistakes, like, in this case, the missing handling of QBluetoothUuid::CharacteristicType::WeightScaleFeature.

[ChangeLog][QtBluethooth][QBluetoothUuid] Fixed missing result of characteristicToString(CharacteristicType::WeightScaleFeature).

Pick-to: 6.6 6.5 6.2 5.15 Change-Id: I04b7cf9ee058ef5a8d202fff01fb347d315562f6 Reviewed-by: Alex Blasche alexander.blasche@qt.io (cherry picked from commit 439e818f)

  • asturmlechner 2023-08-15: Resolve conflict with dev branch commit 66bb9839

Merge request reports