diff options
author | Sami Shalayel <sami.shalayel@qt.io> | 2023-12-20 09:23:17 +0100 |
---|---|---|
committer | Sami Shalayel <sami.shalayel@qt.io> | 2023-12-29 09:48:31 +0100 |
commit | ed1a995c27f58771dad76552335e1d41180e7092 (patch) | |
tree | 7b16e222faa4c49cc81ba76672f3f24654bc0979 /src/qml/doc/src | |
parent | 00b077a9c56e0014ba03cc031c83558134adc5ca (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