aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlproperty.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2012-04-03 15:22:17 +1000
committerQt by Nokia <qt-info@nokia.com>2012-04-03 09:22:28 +0200
commit6793121396ca34ea6c2cbb0567ce0cd605a31acc (patch)
tree4d0eecceee6dab2840c4fad148b5695c09b358c0 /src/qml/qml/qqmlproperty.cpp
parent07d3b18a5fc0b6431cafef57c9df22696e27b805 (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.cpp1
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;