summaryrefslogtreecommitdiffstats
path: root/tests/auto/qlistview
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-26 14:15:59 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-26 14:36:41 (GMT)
commit9c78eb972041a066e455bf04d63f3290afacb982 (patch)
treebfeb27a294809859f697c6d35d16152869460dd3 /tests/auto/qlistview
parentc7e8c1844819bc9b078403f8cdbad9c104452a30 (diff)
downloadQt-9c78eb972041a066e455bf04d63f3290afacb982.zip
Qt-9c78eb972041a066e455bf04d63f3290afacb982.tar.gz
Qt-9c78eb972041a066e455bf04d63f3290afacb982.tar.bz2
stabilize test and fix warning
Diffstat (limited to 'tests/auto/qlistview')
-rw-r--r--tests/auto/qlistview/tst_qlistview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/qlistview/tst_qlistview.cpp b/tests/auto/qlistview/tst_qlistview.cpp
index 3968529..65ab12d 100644
--- a/tests/auto/qlistview/tst_qlistview.cpp
+++ b/tests/auto/qlistview/tst_qlistview.cpp
@@ -1785,12 +1785,12 @@ void tst_QListView::task262152_setModelColumnNavigate()
view.show();
QTest::qWaitForWindowShown(&view);
- QTest::qWait(10);
+ QTest::qWait(100);
QTest::keyClick(&view, Qt::Key_Down);
- QTest::qWait(10);
+ QTest::qWait(100);
QCOMPARE(view.currentIndex(), model.index(1,1));
QTest::keyClick(&view, Qt::Key_Down);
- QTest::qWait(10);
+ QTest::qWait(100);
QCOMPARE(view.currentIndex(), model.index(2,1));
}