From 687fa8bcf2eac2a8c71d6560c5d388fac3b4283e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Arve=20S=C3=A6ther?= Date: Thu, 17 Sep 2009 15:47:21 +0200 Subject: Clean up my previous commit (remove comment and whitespace fix) --- tests/auto/qtableview/tst_qtableview.cpp | 4 +--- 1 file changed, 1 insertion(+), 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() -- cgit v0.12