aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/doc/src
diff options
context:
space:
mode:
authorSami Shalayel <sami.shalayel@qt.io>2023-12-20 09:23:17 +0100
committerSami Shalayel <sami.shalayel@qt.io>2023-12-29 09:48:31 +0100
commited1a995c27f58771dad76552335e1d41180e7092 (patch)
tree7b16e222faa4c49cc81ba76672f3f24654bc0979 /src/qml/doc/src
parent00b077a9c56e0014ba03cc031c83558134adc5ca (diff)
qmllsutils: add missing break statements in switch statement
Fix a warning where it was (rightfully) complaining about a missing break. Also move the switch case into a static helper method: this allows to simplify the logic by getting rid of the alreadyInLoop boolean variable and being able to directly do the early exit. Change-Id: I4919fa0760e08d34e44bbddb8df4ee644f77b9d9 Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/doc/src')
0 files changed, 0 insertions, 0 deletions