summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_gui_kernel_qapplication.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>2009-10-06 12:26:58 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-10-07 02:51:47 (GMT)
commitcafa66b24879a648ef520e41e0e8ed6a11dcabc1 (patch)
tree21b74f80b836736a0d463808ad32f077b08acdf1 /doc/src/snippets/code/src_gui_kernel_qapplication.cpp
parent622d615043c3ef4ab0bd547c0e65617580755532 (diff)
downloadQt-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/src_gui_kernel_qapplication.cpp')
0 files changed, 0 insertions, 0 deletions