diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-15 08:01:04 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-17 00:20:50 (GMT) |
commit | 34f0d9de68963499bfbc245639d0a099433734b1 (patch) | |
tree | 10ca954f11fc5bfe6dfe357b1a52d454483d9d51 /src/declarative/qml/qdeclarativeinfo.cpp | |
parent | 48f89845732b2bf6b9e7a6dbe98efd6dfd5e3cff (diff) | |
download | Qt-34f0d9de68963499bfbc245639d0a099433734b1.zip Qt-34f0d9de68963499bfbc245639d0a099433734b1.tar.gz Qt-34f0d9de68963499bfbc245639d0a099433734b1.tar.bz2 |
Fix test failures
Diffstat (limited to 'src/declarative/qml/qdeclarativeinfo.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeinfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeinfo.cpp b/src/declarative/qml/qdeclarativeinfo.cpp index 87a9254..5146bb6 100644 --- a/src/declarative/qml/qdeclarativeinfo.cpp +++ b/src/declarative/qml/qdeclarativeinfo.cpp @@ -103,7 +103,7 @@ QDeclarativeInfo::QDeclarativeInfo(const QObject *object) QDeclarativeDeclarativeData *ddata = object?QDeclarativeDeclarativeData::get(object):0; pos += QLatin1String(" ("); if (ddata) { - if (ddata->outerContext) { + if (ddata->outerContext && !ddata->outerContext->url.isEmpty()) { pos += ddata->outerContext->url.toString(); pos += QLatin1Char(':'); pos += QString::number(ddata->lineNumber); |