summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@nokia.com>2011-04-05 14:30:58 (GMT)
committerPierre Rossi <pierre.rossi@nokia.com>2011-04-05 14:35:09 (GMT)
commit76a2a3278107d2713e6d999cf82db4e134c3d034 (patch)
treea271156f6ff9a63ad2ce618cd84e1cda84881626 /tests/auto
parent23dd5cb45547de167f5c2e78554e9c3013e59998 (diff)
downloadQt-76a2a3278107d2713e6d999cf82db4e134c3d034.zip
Qt-76a2a3278107d2713e6d999cf82db4e134c3d034.tar.gz
Qt-76a2a3278107d2713e6d999cf82db4e134c3d034.tar.bz2
Fix autotest breakage in QTableWidget
Reviewed-by: gabi
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qtablewidget/tst_qtablewidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qtablewidget/tst_qtablewidget.cpp b/tests/auto/qtablewidget/tst_qtablewidget.cpp
index d17e064..baa99ea 100644
--- a/tests/auto/qtablewidget/tst_qtablewidget.cpp
+++ b/tests/auto/qtablewidget/tst_qtablewidget.cpp
@@ -1471,6 +1471,8 @@ void tst_QTableWidget::task219380_removeLastRow()
testWidget->removeRow(19); //we remove the last row
+ QApplication::processEvents(); // See QTBUG-18551 and its fix
+
//we make sure the editor is at the cell position
QCOMPARE(testWidget->cellWidget(18, 0)->geometry(), testWidget->visualItemRect(&item));
}