aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/backend.cpp
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2023-05-04 17:23:10 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2023-05-23 11:53:22 +0000
commita466002701e24b37d97b79b73db8c6b3689fdfff (patch)
tree15a4d3eb990cf1274416696b25489d1702155ea5 /tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/backend.cpp
parentba64b7a70eedf6a2023ef86eda542cad6f4b21be (diff)
qmllint (quickplugin): PropertyChanges: handle invalid target
If the "id" (which might actually be an arbitrary expression) cannot be resolved, targetElement is null, so it shouldn't be dereferenced. As we currently cannot discern between invalid ids and expressions, assume that the "id" might be valid, and simply print the generic warning about custom-parsed properties. Pick-to: 6.5 Change-Id: I6c4f488f514510b31e51fe936056c3cdb1ad319a Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'tests/auto/quick/doc/how-tos/how-to-cpp-enum-js/backend.cpp')
0 files changed, 0 insertions, 0 deletions