Replace an if-chain with a switch statement, and remove the duplicate test for QAccessible::Client - we already ignore all such elements, no matter their special role name. Compare an object's className as a QByteArrayView, no need to expand to a UTF16 QString just to compare with a Latin1 literal. Pick-to: 6.8 Change-Id: I79f52277e4177f2a688216b7f5ef7469cfe0534c Reviewed-by: Albert Astals Cid <aacid@kde.org> Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> (cherry picked from commit e88940941f8ffe8236d281d5e0e46205f5c405ee) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%