diff options
-rw-r--r-- | tests/auto/qtableview/tst_qtableview.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/auto/qtableview/tst_qtableview.cpp b/tests/auto/qtableview/tst_qtableview.cpp index 964841e..dbf1aa4 100644 --- a/tests/auto/qtableview/tst_qtableview.cpp +++ b/tests/auto/qtableview/tst_qtableview.cpp @@ -2337,7 +2337,7 @@ void tst_QTableView::scrollTo() view.show(); // resizing to this size will ensure that there can ONLY_BE_ONE_CELL inside the view. - QSize forcedSize(columnWidth*2, rowHeight * 2); + QSize forcedSize(columnWidth * 2, rowHeight * 2); view.resize(forcedSize); QTest::qWait(0); QTRY_COMPARE(view.size(), forcedSize); @@ -2363,8 +2363,6 @@ void tst_QTableView::scrollTo() view.scrollTo(index, (QAbstractItemView::ScrollHint)scrollHint); QCOMPARE(view.verticalScrollBar()->value(), expectedVerticalScroll); QCOMPARE(view.horizontalScrollBar()->value(), expectedHorizontalScroll); - - //QTest::qWait(22100); // ### needed to pass the test } void tst_QTableView::indexAt_data() |