-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0
-
None
-
13fc038d8 (dev), 2baf9ecb2 (6.5)
On a Q_GADGET with a qreal property, like:
class TestType
{
Q_GADGET
Q_PROPERTY(qreal value READ value WRITE setValue RESET resetValue)
This assignment:
test.value = undefined
Calls setValue(NAN) in 6.5.0 instead of resetValue() as it did in 6.4.1 and earlier.
This still works as expected (calling resetValue()) for Q_OBJECT properties or for int properties of a Q_GADGET.
| For Gerrit Dashboard: QTBUG-113473 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 476732,4 | Fix reset support for value types | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
| 477616,2 | Fix reset support for value types | 6.5 | qt/qtdeclarative | Status: MERGED | +2 | 0 |