summaryrefslogtreecommitdiffstats
path: root/tools/linguist/lupdate/cpp.cpp
diff options
context:
space:
mode:
authormae <qt-info@nokia.com>2009-11-04 16:06:11 (GMT)
committermae <qt-info@nokia.com>2009-11-04 16:06:11 (GMT)
commit7f29368eccc9a06a4b817608887371225b0f2347 (patch)
treeb9597b786023fca81c782b8e373facf6a83c20a4 /tools/linguist/lupdate/cpp.cpp
parentde2e9b75c3e71906322ffae1eaa4219a662266c2 (diff)
downloadQt-7f29368eccc9a06a4b817608887371225b0f2347.zip
Qt-7f29368eccc9a06a4b817608887371225b0f2347.tar.gz
Qt-7f29368eccc9a06a4b817608887371225b0f2347.tar.bz2
QPlainTextEdit redraw issue in QTextControl
There is an optimization in QTextControl, that it only requests updates for single blocks if only a single block was changed. This update was requested with the block's bounding rectangle. In the case of disabled line wrapping in combination with a very long line, a block change can result in a narrower block bounding rectangle. This then resulted in pixel on the screen not being redrawn properly. The fix enlarges the requested update rectangle horizontally. The bug was discovered during inhouse Qt Creator testing. Reviewed-by: Oswald Buddenhagen
Diffstat (limited to 'tools/linguist/lupdate/cpp.cpp')
0 files changed, 0 insertions, 0 deletions