diff options
author | Matthew Cattell <matthew.cattell@nokia.com> | 2011-09-13 10:56:17 +0200 |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2011-09-14 10:13:23 +0200 |
commit | f902ecfe6a99aa733cb18b0c435825546f1d18d5 (patch) | |
tree | 2271448a9152164c1a7a4f08a9618624b0dff7ab /tests | |
parent | e47ade5e86c96eef95f43bb181ace17524acb19c (diff) |
fixed broken test
Change-Id: I75655620bcd12b9a59eedde0bad489c4d31bbb2e
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/declarative/qsglistview/tst_qsglistview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |