summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp')
-rw-r--r--tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp b/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp
index 92b0bf2..39d4326 100644
--- a/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp
+++ b/tests/auto/declarative/qmlanimations/tst_qmlanimations.cpp
@@ -258,7 +258,7 @@ void tst_qmlanimations::badTypes()
//don't crash
{
QmlView *view = new QmlView;
- view->setUrl(QUrl::fromLocalFile(SRCDIR "/data/badtype1.qml"));
+ view->setSource(QUrl::fromLocalFile(SRCDIR "/data/badtype1.qml"));
view->execute();
qApp->processEvents();