diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2019-04-29 10:42:00 +0200 |
---|---|---|
committer | Michael Brasser <michael.brasser@live.com> | 2019-05-17 19:28:31 +0000 |
commit | f38e071f5b353cbf9ce6c6c104bd82099ae0aa14 (patch) | |
tree | e7b1acb1ecc513912b7e0956e85ec00185405973 /src/qml/compiler | |
parent | bc9f502d5ff7b6fc874f0e65019f7967916eab11 (diff) |
Restore value bindings when disabling a Binding element
We previously only restored script bindings that were replaced by
a Binding. Now we handle both.
[ChangeLog] QML Binding elements now support restoring previous values
of the bound property when the binding is disabled. This will be the
default behavior in Qt 5.15. Reliance on the old behavior of only
restoring binding, not literal values results in a warning now.
Fixes: QTBUG-33444
Change-Id: I833403b0645c08eee486fbd4acf5d3c7de2ef73a
Reviewed-by: Michael Brasser <michael.brasser@live.com>
Diffstat (limited to 'src/qml/compiler')
0 files changed, 0 insertions, 0 deletions