From: Matthew Cattell Date: Tue, 13 Sep 2011 08:56:17 +0000 (+0200) Subject: fixed broken test X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=f902ecfe6a99aa733cb18b0c435825546f1d18d5;p=konrad%2Fqtdeclarative.git fixed broken test Change-Id: I75655620bcd12b9a59eedde0bad489c4d31bbb2e --- diff --git a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp index 581a74c..cbd1b01 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);