diff options
author | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-17 13:47:21 (GMT) |
---|---|---|
committer | Jan-Arve Sæther <jan-arve.saether@nokia.com> | 2009-09-17 13:47:21 (GMT) |
commit | 687fa8bcf2eac2a8c71d6560c5d388fac3b4283e (patch) | |
tree | f187135bd95fcfe4f300d6fa82f60161afc99300 | |
parent | 67d3086c6aa1cfd1579a8230a0b2b94fff3735f3 (diff) | |
download | Qt-687fa8bcf2eac2a8c71d6560c5d388fac3b4283e.zip Qt-687fa8bcf2eac2a8c71d6560c5d388fac3b4283e.tar.gz Qt-687fa8bcf2eac2a8c71d6560c5d388fac3b4283e.tar.bz2 |
Clean up my previous commit (remove comment and whitespace fix)
-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() |