summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelayoutitem
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2010-05-12 12:44:06 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2010-05-12 12:44:06 (GMT)
commit7894bbb901a2ba74284bd6c0544b06c6a41f6b6f (patch)
tree1e56e219ea0f9fb788158f1da3ddcb52b6bd95d7 /tests/auto/declarative/qdeclarativelayoutitem
parentdb489eb393f8be9ef2a296d0cdcabe935f497b59 (diff)
downloadQt-7894bbb901a2ba74284bd6c0544b06c6a41f6b6f.zip
Qt-7894bbb901a2ba74284bd6c0544b06c6a41f6b6f.tar.gz
Qt-7894bbb901a2ba74284bd6c0544b06c6a41f6b6f.tar.bz2
Possibly fix autotest
It's unclear why the autotest failed on a platform I can't test on right now, but this might clear it up.
Diffstat (limited to 'tests/auto/declarative/qdeclarativelayoutitem')
-rw-r--r--tests/auto/declarative/qdeclarativelayoutitem/tst_qdeclarativelayoutitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qdeclarativelayoutitem/tst_qdeclarativelayoutitem.cpp b/tests/auto/declarative/qdeclarativelayoutitem/tst_qdeclarativelayoutitem.cpp
index 2207635..c0c5abc 100644
--- a/tests/auto/declarative/qdeclarativelayoutitem/tst_qdeclarativelayoutitem.cpp
+++ b/tests/auto/declarative/qdeclarativelayoutitem/tst_qdeclarativelayoutitem.cpp
@@ -75,7 +75,7 @@ void tst_qdeclarativelayoutitem::test_resizing()
view.setScene(&scene);
//Add the QML snippet into the layout
QDeclarativeEngine engine;
- QDeclarativeComponent c(&engine, QUrl(SRCDIR "/data/layoutItem.qml"));
+ QDeclarativeComponent c(&engine, QUrl::fromLocalFile(SRCDIR "/data/layoutItem.qml"));
QDeclarativeLayoutItem* obj = static_cast<QDeclarativeLayoutItem*>(c.create());
layout->addItem(obj);
layout->setContentsMargins(0,0,0,0);