From f902ecfe6a99aa733cb18b0c435825546f1d18d5 Mon Sep 17 00:00:00 2001 From: Matthew Cattell Date: Tue, 13 Sep 2011 10:56:17 +0200 Subject: fixed broken test Change-Id: I75655620bcd12b9a59eedde0bad489c4d31bbb2e --- tests/auto/declarative/qsglistview/tst_qsglistview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp index 581a74c445..cbd1b0189e 100644 --- a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp +++ b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp @@ -1793,7 +1793,7 @@ void tst_QSGListView::currentIndex() listview->setCurrentIndex(0); QTest::keyClick(canvas, Qt::Key_Down); - QCOMPARE(listview->currentIndex(), 0); + QCOMPARE(listview->currentIndex(), 1); QTest::keyClick(canvas, Qt::Key_Up); QCOMPARE(listview->currentIndex(), 0); -- cgit v1.2.3