Fix autotest breakage in QTableWidget

Reviewed-by: gabi
(cherry picked from commit 76a2a3278107d2713e6d999cf82db4e134c3d034)
This commit is contained in:
Pierre Rossi 2011-04-05 16:30:58 +02:00 committed by Olivier Goffart
parent d001733c24
commit 4a2f95a307

View File

@ -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));
}