diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2024-01-19 13:26:32 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2024-01-25 18:35:05 +0100 |
commit | da6680cb2eeea4c845cffac0a0f9d24e30b1625c (patch) | |
tree | 6411f8b6d49bf89fd8dc66232b9a07bc0c74b7a8 /src/qml/qml/qqml.cpp | |
parent | cc761e9c5a1c5249f4760c8e5e57755a3fe042ca (diff) |
QmlCompiler: Implement resetting of properties
We piggy-back on the mechanism used to handle shadowable properties and
pass the value as QVariant. QVariant can hold undefined and the lookup
functions know how to handle it.
Pick-to: 6.7 6.6 6.5 6.2
Fixes: QTBUG-120512
Change-Id: I9bca4940256c82bdcf5540b956600eb420be363e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/qml/qqml.cpp')
0 files changed, 0 insertions, 0 deletions