diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2009-10-06 12:26:58 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2009-10-07 02:51:47 (GMT) |
commit | cafa66b24879a648ef520e41e0e8ed6a11dcabc1 (patch) | |
tree | 21b74f80b836736a0d463808ad32f077b08acdf1 /doc/src/snippets/code | |
parent | 622d615043c3ef4ab0bd547c0e65617580755532 (diff) | |
download | Qt-cafa66b24879a648ef520e41e0e8ed6a11dcabc1.zip Qt-cafa66b24879a648ef520e41e0e8ed6a11dcabc1.tar.gz Qt-cafa66b24879a648ef520e41e0e8ed6a11dcabc1.tar.bz2 |
Fix crash in QPlainTextEdit when using large fonts
When using very large fonts, sometimes the scrollbar of the
QPlainTextEdit will allow you to do scroll down past the end of the
document, in which case the currentBlock in hitTest() is inValid() which
caused an assert in currentBlock.next().
Task-number: QT-938
Reviewed-by: mae
(cherry picked from commit d824af2348d11a7f364a1046a704268830f35f13)
Diffstat (limited to 'doc/src/snippets/code')
0 files changed, 0 insertions, 0 deletions