aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp')
-rw-r--r--tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp b/tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp
index a39082d738..b12bf3eb50 100644
--- a/tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp
+++ b/tests/auto/declarative/qquicklistview/tst_qquicklistview.cpp
@@ -911,7 +911,7 @@ void tst_QQuickListView::insertBeforeVisible_data()
}
template <class T>
-void tst_QQuickListView::removed(bool animated)
+void tst_QQuickListView::removed(bool /* animated */)
{
QQuickView *canvas = createView();
@@ -3027,7 +3027,7 @@ void tst_QQuickListView::header_delayItemCreation()
TestModel model;
- canvas->rootContext()->setContextProperty("setCurrentToZero", false);
+ canvas->rootContext()->setContextProperty("setCurrentToZero", QVariant(false));
canvas->setSource(QUrl::fromLocalFile(TESTDATA("fillModelOnComponentCompleted.qml")));
qApp->processEvents();