summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-04-12 06:32:44 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-04-12 06:33:20 (GMT)
commit29bcbcd2cacc9c9dee36fe77b6a297e42bedf6d4 (patch)
treef42d0ae54b7cf12ba488ccdf06c54f3a666837bb /tests
parent785e784492a369d5624a10d3fad327e09ccb4a25 (diff)
downloadQt-29bcbcd2cacc9c9dee36fe77b6a297e42bedf6d4.zip
Qt-29bcbcd2cacc9c9dee36fe77b6a297e42bedf6d4.tar.gz
Qt-29bcbcd2cacc9c9dee36fe77b6a297e42bedf6d4.tar.bz2
Test fix.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qdeclarativeflipable/tst_qdeclarativeflipable.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qdeclarativeflipable/tst_qdeclarativeflipable.cpp b/tests/auto/declarative/qdeclarativeflipable/tst_qdeclarativeflipable.cpp
index 7e5c3dd..4155edb 100644
--- a/tests/auto/declarative/qdeclarativeflipable/tst_qdeclarativeflipable.cpp
+++ b/tests/auto/declarative/qdeclarativeflipable/tst_qdeclarativeflipable.cpp
@@ -116,7 +116,7 @@ void tst_qdeclarativeflipable::setFrontAndBack()
void tst_qdeclarativeflipable::QTBUG_9161_crash()
{
QDeclarativeView *canvas = new QDeclarativeView;
- canvas->setSource(QUrl(SRCDIR "/data/crash.qml"));
+ canvas->setSource(QUrl::fromLocalFile(SRCDIR "/data/crash.qml"));
QGraphicsObject *root = canvas->rootObject();
QVERIFY(root != 0);
canvas->show();
@@ -126,7 +126,7 @@ void tst_qdeclarativeflipable::QTBUG_9161_crash()
void tst_qdeclarativeflipable::QTBUG_8474_qgv_abort()
{
QDeclarativeView *canvas = new QDeclarativeView;
- canvas->setSource(QUrl(SRCDIR "/data/flipable-abort.qml"));
+ canvas->setSource(QUrl::fromLocalFile(SRCDIR "/data/flipable-abort.qml"));
QGraphicsObject *root = canvas->rootObject();
QVERIFY(root != 0);
canvas->show();