diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-05-09 16:59:24 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-05-12 15:06:42 +0200 |
commit | 13fc038d8d4baa9e199fbd5a7e4c08650a88172e (patch) | |
tree | f0f01ea5594bd3c82a9faa97645c8dbc37b73476 /tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.cpp | |
parent | f3b1d6135222e9ce41845a00831a3eb24cd36449 (diff) | |
download | qtdeclarative-13fc038d8d4baa9e199fbd5a7e4c08650a88172e.tar.gz |
Fix reset support for value types
Our value type refactoring in 6.5 broke reset support for value types
when that write happens through virtualPut.
Fix that by checking whether the value we're assinging is undefined
before attempting any conversion, and reset the gadget in that case (if
it is actually resettable).
Task-number: QTBUG-113473
Pick-to: 6.5
Change-Id: Ifaa2d045f718fc3cb2d5e75b3626b41175ac3a3b
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Semih Yavuz <semih.yavuz@qt.io>
Diffstat (limited to 'tests/auto/qmldom/stringdumper/tst_qmldomstringdumper.cpp')
0 files changed, 0 insertions, 0 deletions