diff options
author | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-08-09 08:31:16 (GMT) |
---|---|---|
committer | Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com> | 2010-08-09 08:35:56 (GMT) |
commit | c5fa9eb1cb02d979502e2c9918d752c6708fb406 (patch) | |
tree | 4b35490fde8398e9f1c4608f4e1f38adeb5e155a /src/gui/kernel/qkeymapper_p.h | |
parent | cfe96b7c99cb12a666111c7861aba74d535adc89 (diff) | |
download | Qt-c5fa9eb1cb02d979502e2c9918d752c6708fb406.zip Qt-c5fa9eb1cb02d979502e2c9918d752c6708fb406.tar.gz Qt-c5fa9eb1cb02d979502e2c9918d752c6708fb406.tar.bz2 |
Fix scrollbar randomly popping up in QPlainTextEdit
When a line break was detected, we would retain the value of the
right bearing for the character after the break instead of resetting it
to the right bearing of the previous value. This could in some cases
cause the bounding rect of the text to be wrong, and could cause
unnecessary horizontal scrollbars to pop up. It was especially visible
when using WrapAnywhere. Visible e.g. in the compile output in Creator.
Done-by: mae
Reviewed-by: Eskil
Reviewed-by: Lars
Diffstat (limited to 'src/gui/kernel/qkeymapper_p.h')
0 files changed, 0 insertions, 0 deletions