summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp')
-rw-r--r--tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp b/tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp
index ba3bdd2..8c457e6 100644
--- a/tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp
+++ b/tests/auto/declarative/qmlpropertymap/tst_qmlpropertymap.cpp
@@ -137,7 +137,7 @@ void tst_QmlPropertyMap::changed()
ctxt->setContextProperty(QLatin1String("testdata"), &map);
QmlComponent component(&engine);
component.setData("import Qt 4.6\nText { text: { testdata.key1 = 'Hello World'; 'X' } }",
- QUrl("file://"));
+ QUrl::fromLocalFile(""));
QVERIFY(component.isReady());
QmlGraphicsText *txt = qobject_cast<QmlGraphicsText*>(component.create());
QVERIFY(txt);