@@ -39,7 +39,6 @@ private Q_SLOTS:
39 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
39 view->engine()->addImportPath(BUILT_PLUGINS_DIR);
40 view->setSource(QUrl::fromLocalFile(LISTVIEWWITHPAGEHEADER_FOLDER "/test.qml"));
40 view->setSource(QUrl::fromLocalFile(LISTVIEWWITHPAGEHEADER_FOLDER "/test.qml"));
41 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
41 lvwph = dynamic_cast<ListViewWithPageHeader*>(view->rootObject()->findChild<QQuickFlickable*>());
43 model = view->rootObject()->findChild<QQuickListModel*>();
42 model = view->rootObject()->findChild<QQuickListModel*>();
44 otherDelegate = view->rootObject()->findChild<QQmlComponent*>();
43 otherDelegate = view->rootObject()->findChild<QQmlComponent*>();
45 QVERIFY(lvwph);
44 QVERIFY(lvwph);