summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativenotifier.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-12 02:23:50 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-12 02:24:48 (GMT)
commit93b789f196868f958b4d7dcfd45dbe27179b1b0f (patch)
treee53ab16dbd59b5cb53e7276d8375a0646c168760 /src/declarative/qml/qdeclarativenotifier.cpp
parentc9042323b601d54c2cefaee0d28559c83d47841f (diff)
downloadQt-93b789f196868f958b4d7dcfd45dbe27179b1b0f.zip
Qt-93b789f196868f958b4d7dcfd45dbe27179b1b0f.tar.gz
Qt-93b789f196868f958b4d7dcfd45dbe27179b1b0f.tar.bz2
Reenable the QML binding optimizer for "safe" optimizations
Diffstat (limited to 'src/declarative/qml/qdeclarativenotifier.cpp')
-rw-r--r--src/declarative/qml/qdeclarativenotifier.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativenotifier.cpp b/src/declarative/qml/qdeclarativenotifier.cpp
index 0a8783a..8e5904c 100644
--- a/src/declarative/qml/qdeclarativenotifier.cpp
+++ b/src/declarative/qml/qdeclarativenotifier.cpp
@@ -59,7 +59,8 @@ void QDeclarativeNotifier::emitNotify(QDeclarativeNotifierEndpoint *endpoint)
QMetaObject::metacall(endpoint->target, QMetaObject::InvokeMetaMethod,
endpoint->targetMethod, args);
- n->disconnected = oldDisconnected;
+ if (n)
+ n->disconnected = oldDisconnected;
}
if (oldDisconnected) *oldDisconnected = n;