tst_qtexttable: fix fail on QEMU ARMv7

Different font was used when running on QEMU ARMv7 and the second page
was never reached.

Pick-to: 6.1
Task-number: QTQAINFRA-4127
Change-Id: Ic85b76661cf3642b69e6e1b21e8062d7c36231e3
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
This commit is contained in:
Samuli Piippo 2020-12-31 14:54:11 +02:00
parent 74158ab1a6
commit d6f00c637d

View File

@ -1156,7 +1156,7 @@ void tst_QTextTable::QTBUG31330_renderBackground()
cell.setFormat(cellFormat);
QTextCursor tc = cell.firstCursorPosition();
for (int i = 0; i < 60; ++i) {
for (int i = 0; i < 100; ++i) {
tc.insertBlock();
}
QTBUG31330_PaintDevice::PaintEngine engine;