Commit 8f077f28 authored by Miikka Heikkinen's avatar Miikka Heikkinen Committed by Qt by Nokia

Remove warning about missing file from parserstress test

There is no dummy.qml, so trying to find it will cause a warning
and return an empty string. Since the url is optional anyway and
apparently not relevant to this test, just use empty QUrl directly.

Change-Id: I11ba742dedccd6bdea226f680aa57c957afc7dc7
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent dfe32bec
......@@ -128,8 +128,7 @@ void tst_parserstress::ecmascript()
QQmlComponent component(&engine);
QString dummyFile = QFINDTESTDATA("dummy.qml");
component.setData(qmlData, QUrl::fromLocalFile(dummyFile));
component.setData(qmlData, QUrl());
QFileInfo info(file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment