diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2010-01-13 02:48:18 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2010-01-13 03:23:31 (GMT) |
commit | 8f1fb137cb47951dc67409372a6763ddb17d65ca (patch) | |
tree | 79b09b50cad4d200e33bed9b45c034bdebab0027 /tests/auto/declarative/shared/debugutil.cpp | |
parent | 05adc294d063171d9d0accf819826684813d396a (diff) | |
download | Qt-8f1fb137cb47951dc67409372a6763ddb17d65ca.zip Qt-8f1fb137cb47951dc67409372a6763ddb17d65ca.tar.gz Qt-8f1fb137cb47951dc67409372a6763ddb17d65ca.tar.bz2 |
Fix tests after 05adc294d063171d9d0accf819826684813d396a
Diffstat (limited to 'tests/auto/declarative/shared/debugutil.cpp')
-rw-r--r-- | tests/auto/declarative/shared/debugutil.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/shared/debugutil.cpp b/tests/auto/declarative/shared/debugutil.cpp index 8f6fdef..b8245b5 100644 --- a/tests/auto/declarative/shared/debugutil.cpp +++ b/tests/auto/declarative/shared/debugutil.cpp @@ -157,7 +157,8 @@ int QmlDebugTest::runTests(QmlTestFactory *factory, const QList<QByteArray> &qml QmlEngine engine; // blocks until client connects foreach (const QByteArray &code, qml) { - QmlComponent c(&engine, code, QUrl("file://")); + QmlComponent c(&engine); + c.setData(code, QUrl("file://")); Q_ASSERT(c.isReady()); // fails if bad syntax data.items << qobject_cast<QmlGraphicsItem*>(c.create()); } |