aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextnodeengine.cpp
diff options
context:
space:
mode:
authorOlivier De Cannière <olivier.decanniere@qt.io>2024-07-18 13:21:36 +0200
committerOlivier De Cannière <olivier.decanniere@qt.io>2024-07-23 18:38:19 +0200
commit51de3b6806032232a5d7f805b9d1e539b7522426 (patch)
tree296a24135315a2bf132f0e6e6d6fc5be50e711af /src/quick/items/qquicktextnodeengine.cpp
parentb45629207ee32a3d80b6ea6553e8762eec8a86da (diff)
QQmlComponent: Reject nested properties in setInitialProperties
The public API doesn't allow setting nested properties when creating objects with initial properties. Remove the code handling them and reject the creation when nested properties are passed as initial properties. This also fixes crashes where the code didn't handle property names containing a dot properly. [ChangeLog][QtQml][Important Behavior Changes] The undocumented ability to set properties of subobjects when setting initial properties will now fail. Fixes: QTBUG-123861 Pick-to: 6.8 Change-Id: Ie2a30aff9f60d8ba112208722af740b4f1c68e81 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/quick/items/qquicktextnodeengine.cpp')
0 files changed, 0 insertions, 0 deletions