diff options
author | Lu YaNing <luyaning@uniontech.com> | 2020-07-20 11:32:55 +0800 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-07-23 15:05:04 +0200 |
commit | b9cd399dc99487371a17dbdfc434b62dc8508c3f (patch) | |
tree | 1fd2a36806404f3ea8a755818a36dcaf50f59bbe /tests/auto/testlib/selftests/expected_assert.junitxml | |
parent | a7ebcbfc04e7396618247c321443c9437481d0df (diff) |
QLineEdit: Fix cursor drawing issues
Entering Chinese in some fonts in an English environment causes
the cursor drawing coordinates to exceed the updated coordinates,
leaving behind stale pixels at the top.
Keep the refresh and draw area calculation methods the same when
rendering the contents in QLineEdit::paintEvent, and when
calculating the update area in
QLineEditPrivate::adjustedControlRect.
Fixes: QTBUG-85569
Pick-to: 5.15
Change-Id: I978cb56f24f961086b1271e56d07ad1ced16f8ff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/testlib/selftests/expected_assert.junitxml')
0 files changed, 0 insertions, 0 deletions