diff options
Diffstat (limited to 'tests/auto/declarative/numberformatter/tst_numberformatter.cpp')
-rw-r--r-- | tests/auto/declarative/numberformatter/tst_numberformatter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/numberformatter/tst_numberformatter.cpp b/tests/auto/declarative/numberformatter/tst_numberformatter.cpp index e297961..b00e08a 100644 --- a/tests/auto/declarative/numberformatter/tst_numberformatter.cpp +++ b/tests/auto/declarative/numberformatter/tst_numberformatter.cpp @@ -204,7 +204,7 @@ void tst_numberformat::text() QmlEngine engine; QmlComponent formatterComponent(&engine); - formatterComponent.setData(componentStr.toUtf8(), QUrl("file:///")); + formatterComponent.setData(componentStr.toUtf8(), QUrl::fromLocalFile("")); if(formatterComponent.isError()) qDebug() << formatterComponent.errors(); QVERIFY(formatterComponent.isReady()); |