summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/parserstress
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-01-13 02:48:18 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-01-13 03:23:31 (GMT)
commit8f1fb137cb47951dc67409372a6763ddb17d65ca (patch)
tree79b09b50cad4d200e33bed9b45c034bdebab0027 /tests/auto/declarative/parserstress
parent05adc294d063171d9d0accf819826684813d396a (diff)
downloadQt-8f1fb137cb47951dc67409372a6763ddb17d65ca.zip
Qt-8f1fb137cb47951dc67409372a6763ddb17d65ca.tar.gz
Qt-8f1fb137cb47951dc67409372a6763ddb17d65ca.tar.bz2
Fix tests after 05adc294d063171d9d0accf819826684813d396a
Diffstat (limited to 'tests/auto/declarative/parserstress')
-rw-r--r--tests/auto/declarative/parserstress/tst_parserstress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/parserstress/tst_parserstress.cpp b/tests/auto/declarative/parserstress/tst_parserstress.cpp
index e584140..fe177d1 100644
--- a/tests/auto/declarative/parserstress/tst_parserstress.cpp
+++ b/tests/auto/declarative/parserstress/tst_parserstress.cpp
@@ -130,8 +130,8 @@ void tst_parserstress::ecmascript()
QByteArray qmlData = qml.toUtf8();
- QmlComponent component(&engine, qmlData,
- QUrl::fromLocalFile(SRCDIR + QString("/dummy.qml")));
+ QmlComponent component(&engine);
+ component.setData(qmlData, QUrl::fromLocalFile(SRCDIR + QString("/dummy.qml")));
QVERIFY(!component.isError());
}