diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-04-14 04:08:51 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-04-14 04:08:51 (GMT) |
commit | 6fb6bbadfc9cffee3f7e51d4ec7ab2718f26d00d (patch) | |
tree | 73229684356975000301aed16a69fe17db158f8a | |
parent | 8ca765048b6271a73ce5999fea166e1c518267b5 (diff) | |
download | Qt-6fb6bbadfc9cffee3f7e51d4ec7ab2718f26d00d.zip Qt-6fb6bbadfc9cffee3f7e51d4ec7ab2718f26d00d.tar.gz Qt-6fb6bbadfc9cffee3f7e51d4ec7ab2718f26d00d.tar.bz2 |
Fix qdeclarativeloader test on windows.
-rw-r--r-- | tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp b/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp index ca850a6..aa82403 100644 --- a/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp +++ b/tests/auto/declarative/qdeclarativeloader/tst_qdeclarativeloader.cpp @@ -412,7 +412,7 @@ void tst_QDeclarativeLoader::networkRequestUrl() server.serveDirectory(SRCDIR "/data"); QDeclarativeComponent component(&engine); - component.setData(QByteArray("import Qt 4.6\nLoader { source: \"http://127.0.0.1:14450/Rect120x60.qml\" }"), QUrl(SRCDIR "/dummy.qml")); + component.setData(QByteArray("import Qt 4.6\nLoader { source: \"http://127.0.0.1:14450/Rect120x60.qml\" }"), QUrl::fromLocalFile(SRCDIR "/dummy.qml")); if (component.isError()) qDebug() << component.errors(); QDeclarativeLoader *loader = qobject_cast<QDeclarativeLoader*>(component.create()); |