summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativeloader.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-24 03:34:14 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-24 03:34:14 (GMT)
commitd33d30719d3c17fc1505e1b508999c76c6abc6b4 (patch)
treed6177d90d81f40f010b40f33cee19ec9c0c7c069 /src/declarative/graphicsitems/qdeclarativeloader.cpp
parent50fe8dbed3adae3606bd2c32868821119b4f2808 (diff)
downloadQt-d33d30719d3c17fc1505e1b508999c76c6abc6b4.zip
Qt-d33d30719d3c17fc1505e1b508999c76c6abc6b4.tar.gz
Qt-d33d30719d3c17fc1505e1b508999c76c6abc6b4.tar.bz2
Make compile.
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeloader.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativeloader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeloader.cpp b/src/declarative/graphicsitems/qdeclarativeloader.cpp
index 2149da8..c06b006 100644
--- a/src/declarative/graphicsitems/qdeclarativeloader.cpp
+++ b/src/declarative/graphicsitems/qdeclarativeloader.cpp
@@ -188,7 +188,7 @@ void QDeclarativeLoader::setSource(const QUrl &url)
return;
if (!qmlContext(this)->isSafeOrigin(url)) {
- qmlInfo(this) << tr("\"%1\" is not a safe origin from \"%2\"").arg(url).arg(qmlContext(this)->baseUrl());
+ qmlInfo(this) << tr("\"%1\" is not a safe origin from \"%2\"").arg(url.toString()).arg(qmlContext(this)->baseUrl().toString());
return;
}