aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeproperty.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-11-02 17:08:16 +0000
committerQt by Nokia <qt-info@nokia.com>2011-11-04 13:00:47 +0100
commit4a8871d3fe6c9fe16752697abf95d3a7b8fba7b7 (patch)
treee7c7d5dcefe2bdebe6d7aeb58ffcda6f5572c4c8 /src/declarative/qml/qdeclarativeproperty.cpp
parentf9261feb16d02e985982dd46783ea54c2cfce91b (diff)
Don't crash if contexts are deleted during refreshExpressions
Change-Id: I23b59d33c07b017ef7355a7fe4a728d84c5d7eaa Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/declarative/qml/qdeclarativeproperty.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeproperty.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeproperty.cpp b/src/declarative/qml/qdeclarativeproperty.cpp
index c630de4040..d6a2776b32 100644
--- a/src/declarative/qml/qdeclarativeproperty.cpp
+++ b/src/declarative/qml/qdeclarativeproperty.cpp
@@ -1348,7 +1348,7 @@ bool QDeclarativePropertyPrivate::writeBinding(QObject *object,
int type = core.isValueTypeVirtual()?core.valueTypePropType:core.propType;
- QDeclarativeDeleteWatcher watcher(expression);
+ QDeleteWatcher watcher(expression);
QVariant value;
bool isVmeProperty = core.isVMEProperty();