summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-12 08:09:46 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-17 00:20:48 (GMT)
commit06766918436dc6c5de2e605e7ed3421c548c6782 (patch)
treec9f6da04c3851d56a6bca92d54b86d559d932f85 /src
parent3799ecd97312ab0f5a8dc5e6aef4227cef36813a (diff)
downloadQt-06766918436dc6c5de2e605e7ed3421c548c6782.zip
Qt-06766918436dc6c5de2e605e7ed3421c548c6782.tar.gz
Qt-06766918436dc6c5de2e605e7ed3421c548c6782.tar.bz2
Reset QDeclarativeDeclarativeData::outerContext when the context is removed
Diffstat (limited to 'src')
-rw-r--r--src/declarative/qml/qdeclarativecontext.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativecontext.cpp b/src/declarative/qml/qdeclarativecontext.cpp
index 237cb7e..06637d8 100644
--- a/src/declarative/qml/qdeclarativecontext.cpp
+++ b/src/declarative/qml/qdeclarativecontext.cpp
@@ -312,6 +312,7 @@ QDeclarativeContext::~QDeclarativeContext()
d->contextObjects = d->contextObjects->nextContextObject;
co->context = 0;
+ co->outerContext = 0;
co->nextContextObject = 0;
co->prevContextObject = 0;
}