diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-09 10:30:24 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2019-10-09 16:00:13 +0200 |
commit | bbc5e0f2d25618b1e170b5f92fda3089e5f3965a (patch) | |
tree | dce176ef4f762c698338b62988e8db2db8f905a3 /src | |
parent | d0e88f82e07d7a29572d51cecf950d3844408056 (diff) |
Doc: Add a \note about the (broken) Binding value restoration policy
Task-number: QTBUG-78566
Change-Id: Ic76b6212f4ccc3ce8b9199166223e92c203272a5
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/qml/types/qqmlbind.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qml/types/qqmlbind.cpp b/src/qml/types/qqmlbind.cpp index 513f7f2997..4aed0f2fee 100644 --- a/src/qml/types/qqmlbind.cpp +++ b/src/qml/types/qqmlbind.cpp @@ -174,6 +174,10 @@ QQmlBind::~QQmlBind() When the binding becomes inactive again, any direct bindings that were previously set on the property will be restored. + + \note A previously set literal value is not restored when the Binding becomes inactive. Rather, + the last value set by the now inactive Binding is retained. This behavior will change in future + versions of Qt. */ bool QQmlBind::when() const { |