aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/tutorials/samegame/samegame1/CMakeLists.txt
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2024-05-31 11:06:27 +0200
committerSemih Yavuz <semih.yavuz@qt.io>2024-06-06 13:35:53 +0200
commita1068ca22b2c3ae93c1135f90b2fcf112fb24f5c (patch)
treec0235d716cb021057fb618cf2d61e1ed2e1276b2 /examples/quick/tutorials/samegame/samegame1/CMakeLists.txt
parentfd27949ae2276700d04bd1e5db1d1577870c7559 (diff)
qmlformat: Do not remove the enum items' default value6.7
Figuring out if the enum item has an explicit value is quite error-prone in dom. Instead, retrieve this information from the parser by checking if the value token exist. Introduce an enum that tracks if enumitem's value is explicitly set or not. Also, fix incorrect region mapping while writing out the enum item dom element. Fixes: QTBUG-125914 Pick-to: 6.5 Change-Id: I911621b215de09ff3f18279d83881bc9421080c2 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Sami Shalayel <sami.shalayel@qt.io> (cherry picked from commit c3a0c8ccc67436bf28b17147b324749e9e0acb41) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit c53e1ff4da9fae88535d8b646210df39a38be267)
Diffstat (limited to 'examples/quick/tutorials/samegame/samegame1/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions