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/animatedimage | |
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/animatedimage')
-rw-r--r-- | tests/auto/declarative/animatedimage/tst_animatedimage.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/auto/declarative/animatedimage/tst_animatedimage.cpp b/tests/auto/declarative/animatedimage/tst_animatedimage.cpp index 5ba0068..20b344d 100644 --- a/tests/auto/declarative/animatedimage/tst_animatedimage.cpp +++ b/tests/auto/declarative/animatedimage/tst_animatedimage.cpp @@ -173,7 +173,8 @@ void tst_animatedimage::remote_data() void tst_animatedimage::invalidSource() { QmlEngine engine; - QmlComponent component(&engine, "import Qt 4.6\n AnimatedImage { source: \"no-such-file.gif\" }", QUrl("file://")); + QmlComponent component(&engine); + component.setData("import Qt 4.6\n AnimatedImage { source: \"no-such-file.gif\" }", QUrl("file://")); QVERIFY(component.isReady()); QTest::ignoreMessage(QtWarningMsg, "Error Reading Animated Image File QUrl( \"file:no-such-file.gif\" ) "); |