tst_qtexttable: fix fail on QEMU ARMv7

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

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>
(cherry picked from commit d6f00c637d6e12986a42e3c00622e7801b55a5d0)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Samuli Piippo 2020-12-31 14:54:11 +02:00 committed by Qt Cherry-pick Bot
parent 80cc01aeb5
commit 137f5518b8

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;