fixed broken test
authorMatthew Cattell <matthew.cattell@nokia.com>
Tue, 13 Sep 2011 08:56:17 +0000 (10:56 +0200)
committerGunnar Sletta <gunnar.sletta@nokia.com>
Wed, 14 Sep 2011 08:13:23 +0000 (10:13 +0200)
Change-Id: I75655620bcd12b9a59eedde0bad489c4d31bbb2e

tests/auto/declarative/qsglistview/tst_qsglistview.cpp

index 581a74c..cbd1b01 100644 (file)
@@ -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);