diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-05-02 11:47:55 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-10 02:49:46 +0200 |
commit | 527b700f73c3bc114ba092418ee48626e95014a3 (patch) | |
tree | 6a8fb41652cb604d7f88430e84b7f27bb14cb9cd /src/qml/qml/qqmlabstractbinding_p.h | |
parent | 319007117a8fafe9a72230bbc13fb18833ff4a16 (diff) |
Allow V4 bindings to be assigned to aliases
V4 bindings must be able to be retargetted for them to be assignable
to aliases.
Change-Id: I4d3addd0fdc90b9bf472c781d316f7f406eaf1d7
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlabstractbinding_p.h')
-rw-r--r-- | src/qml/qml/qqmlabstractbinding_p.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlabstractbinding_p.h b/src/qml/qml/qqmlabstractbinding_p.h index 8c4aa4affc..ed414964f8 100644 --- a/src/qml/qml/qqmlabstractbinding_p.h +++ b/src/qml/qml/qqmlabstractbinding_p.h @@ -99,9 +99,8 @@ protected: void clear(); // Called by QQmlPropertyPrivate to "move" a binding to a different property. - // This is only used for alias properties, and only used by QQmlBinding not - // V8 or V4 bindings. The default implementation qFatal()'s to ensure that the - // method is never called for V4 or V8 bindings. + // This is only used for alias properties. The default implementation qFatal()'s + // to ensure that the method is never called for binding types that don't support it. virtual void retargetBinding(QObject *, int); private: Pointer weakPointer(); |