summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2025-09-19 12:48:12 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2025-09-19 21:44:28 +0200
commit28111a3f1795deb2d66cf45a6845a48fea4e893a (patch)
tree4546a11d7db1ece54f88630495ae7b3454f607c7 /src/corelib/io
parentee2bd8431155b41511edf1828b6232694108f221 (diff)
QRM: don't write to an invalid property
The role value might not map to a property, in which case the QMetaProperty will be invalid. We already handle this in readRole, so test for the valid property in writeRole as well. Add crash-test to the setData() test case; we can write arbitrary role values to items backed by maps, so don't verify the return value of setData. Pick-to: 6.10 6.10.0 Change-Id: I780281cb7f1bbbe6db1f66dcc978ae45a443b716 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions