summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativeenginedebug.cpp
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-15 08:01:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-17 00:20:50 (GMT)
commit34f0d9de68963499bfbc245639d0a099433734b1 (patch)
tree10ca954f11fc5bfe6dfe357b1a52d454483d9d51 /src/declarative/qml/qdeclarativeenginedebug.cpp
parent48f89845732b2bf6b9e7a6dbe98efd6dfd5e3cff (diff)
downloadQt-34f0d9de68963499bfbc245639d0a099433734b1.zip
Qt-34f0d9de68963499bfbc245639d0a099433734b1.tar.gz
Qt-34f0d9de68963499bfbc245639d0a099433734b1.tar.bz2
Fix test failures
Diffstat (limited to 'src/declarative/qml/qdeclarativeenginedebug.cpp')
-rw-r--r--src/declarative/qml/qdeclarativeenginedebug.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeenginedebug.cpp b/src/declarative/qml/qdeclarativeenginedebug.cpp
index da73178..a377b35 100644
--- a/src/declarative/qml/qdeclarativeenginedebug.cpp
+++ b/src/declarative/qml/qdeclarativeenginedebug.cpp
@@ -266,7 +266,7 @@ QDeclarativeEngineDebugServer::objectData(QObject *object)
{
QDeclarativeDeclarativeData *ddata = QDeclarativeDeclarativeData::get(object);
QDeclarativeObjectData rv;
- if (ddata) {
+ if (ddata && ddata->outerContext) {
rv.url = ddata->outerContext->url;
rv.lineNumber = ddata->lineNumber;
rv.columnNumber = ddata->columnNumber;