diff options
author | Jan Arve Saether <jan-arve.saether@digia.com> | 2012-10-26 14:20:05 (GMT) |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-28 12:29:35 (GMT) |
commit | c6e3cea94c2b36aebb76b90b8354a04caa2f9c60 (patch) | |
tree | 4cd35fbc0c0a0e43bf3700ba9c2e233a9d6fc18d /src/corelib/statemachine/qsignaltransition.h | |
parent | 7d5574202ed67b57b1c4df21ab6eb3695c14df37 (diff) | |
download | Qt-c6e3cea94c2b36aebb76b90b8354a04caa2f9c60.zip Qt-c6e3cea94c2b36aebb76b90b8354a04caa2f9c60.tar.gz Qt-c6e3cea94c2b36aebb76b90b8354a04caa2f9c60.tar.bz2 |
Make textEditTest more tolerant wrt characterRect verification
Should become more stable due to two changes:
1. When QAccessibleTextWidget::characterRect() calculates the height,
make sure the leading is not included.
2. Accept a small error (1) on height and width.
It there is an error on the height or width, dump diagnostics
This makes it pass with all Latin fonts on my system
(roughly ~150 fonts), where it didn't before.
Change-Id: I964207bad1f3ceb0103129501bdc857aff5885d2
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Diffstat (limited to 'src/corelib/statemachine/qsignaltransition.h')
0 files changed, 0 insertions, 0 deletions