diff options
Diffstat (limited to 'src/declarative/qml/qdeclarativeinfo.cpp')
-rw-r--r-- | src/declarative/qml/qdeclarativeinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/qml/qdeclarativeinfo.cpp b/src/declarative/qml/qdeclarativeinfo.cpp index 7dc61fd8d5..87a9254467 100644 --- a/src/declarative/qml/qdeclarativeinfo.cpp +++ b/src/declarative/qml/qdeclarativeinfo.cpp @@ -43,6 +43,7 @@ #include "qdeclarativedeclarativedata_p.h" #include "qdeclarativecontext.h" +#include "qdeclarativecontext_p.h" #include "qdeclarativemetatype_p.h" #include <QCoreApplication> @@ -103,7 +104,7 @@ QDeclarativeInfo::QDeclarativeInfo(const QObject *object) pos += QLatin1String(" ("); if (ddata) { if (ddata->outerContext) { - pos += ddata->outerContext->baseUrl().toString(); + pos += ddata->outerContext->url.toString(); pos += QLatin1Char(':'); pos += QString::number(ddata->lineNumber); pos += QLatin1Char(':'); |