diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2012-04-03 15:22:17 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-03 09:22:28 +0200 |
commit | 6793121396ca34ea6c2cbb0567ce0cd605a31acc (patch) | |
tree | 4d0eecceee6dab2840c4fad148b5695c09b358c0 /src/qml/qml/qqmlproperty.cpp | |
parent | 07d3b18a5fc0b6431cafef57c9df22696e27b805 (diff) |
Use scope, not owner to look up enums in QQmlBoundSignal.
With this, we no longer need to keep a pointer to the owner, so remove
it as well.
Change-Id: I0c38645b924bf5b0caadb46444cf6dd09abc1eb2
Reviewed-by: Chris Adams <christopher.adams@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlproperty.cpp')
-rw-r--r-- | src/qml/qml/qqmlproperty.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlproperty.cpp b/src/qml/qml/qqmlproperty.cpp index 14f199c734..88223ddf4a 100644 --- a/src/qml/qml/qqmlproperty.cpp +++ b/src/qml/qml/qqmlproperty.cpp @@ -972,7 +972,6 @@ QQmlPropertyPrivate::setSignalExpression(const QQmlProperty &that, if (expr) { QQmlBoundSignal *signal = new QQmlBoundSignal(that.d->object, that.method(), that.d->object); QQmlBoundSignalExpression *oldExpr = signal->setExpression(expr); - signal->addToObject(); return oldExpr; } else { return 0; |