aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlworkerscript/qquickworkerscript.cpp
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2024-11-18 17:17:49 +0100
committerSemih Yavuz <semih.yavuz@qt.io>2024-12-05 23:24:30 +0100
commitddbefea493a33a348714f219ab2046dea7c80741 (patch)
tree3dfd0b8dff1e008fae9d8d83667cc9237b877012 /src/qmlworkerscript/qquickworkerscript.cpp
parentd34b19608f3213920d9560338a2e9e1d56bdc870 (diff)
qmlformat: decide linebreak position by token type
For some token types, like left paranthesis or semicolon etc. it makes sense to break the line after them. By default line break occurs before the token. Remove the option strongMaxLineExtra since it is unknown whether its presence is necessary and once it is removed no test fails. Also remove the convoluted logic as they are quite difficult to understand. No tests are failing even if we use a simpler check. Now, splitting the line algorithm looks way simple. Task-number: QTBUG-113590 Change-Id: I3a5f28d158a6f2a9b18b192896ae466587c4d9df Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/qmlworkerscript/qquickworkerscript.cpp')
0 files changed, 0 insertions, 0 deletions