summaryrefslogtreecommitdiffstats
path: root/tests/auto/qtableview
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@trolltech.com>2009-10-06 08:15:42 (GMT)
committerOlivier Goffart <ogoffart@trolltech.com>2009-10-06 08:16:41 (GMT)
commitf18ea32865521e21f47ea2745181e0e70db0266f (patch)
tree67494a648c687724869e1a3a219d72bb6f675a8c /tests/auto/qtableview
parent146988463cc0d03be415aa8ff07031b6bcf27975 (diff)
downloadQt-f18ea32865521e21f47ea2745181e0e70db0266f.zip
Qt-f18ea32865521e21f47ea2745181e0e70db0266f.tar.gz
Qt-f18ea32865521e21f47ea2745181e0e70db0266f.tar.bz2
Stabilize tests on X11
Diffstat (limited to 'tests/auto/qtableview')
-rw-r--r--tests/auto/qtableview/tst_qtableview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp
index 09e1e87..deb0b71 100644
--- a/tests/auto/qtableview/tst_qtableview.cpp
+++ b/tests/auto/qtableview/tst_qtableview.cpp
@@ -2339,7 +2339,7 @@ void tst_QTableView::scrollTo()
QSize forcedSize(columnWidth * 2, rowHeight * 2);
view.resize(forcedSize);
QTest::qWaitForWindowShown(&view);
- QTest::qWait(0);
+ QTest::qWait(50);
QTRY_COMPARE(view.size(), forcedSize);
view.setModel(&model);
@@ -2354,7 +2354,7 @@ void tst_QTableView::scrollTo()
for (int c = 0; c < columnCount; ++c)
view.setColumnWidth(c, columnWidth);
- QTest::qWait(100); // ### needed to pass the test
+ QTest::qWait(150); // ### needed to pass the test
view.horizontalScrollBar()->setValue(horizontalScroll);
view.verticalScrollBar()->setValue(verticalScroll);