diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-02-24 11:07:29 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-03-10 21:58:21 +0100 |
commit | bd3c82f8db4391fc1d6d3338827356143fd598dd (patch) | |
tree | c854249941355efb7eaf4c3c4a2cc9ce69d39270 /src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp | |
parent | 3702a4c37e06a989cdd1cf19a26bc0d1c3fba07c (diff) |
Fix non-trivial soft-hyphen line breaks
The effect of the soft-hyphen needs to be updated once the final the
break point has been found.
This change cleans the logic by using two variables keeping track of
soft-hyphen at current evaluated position and at last confirmed break
point. Also adds tests for supression of soft-hyphens in the tight
WrapAnywhere case.
Fixes: QTBUG-35940
Fixes: QTBUG-44257
Change-Id: I7a89a8ef991b87691879bb7ce40cec4a3605fdd5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/platformsupport/input/evdevtouch/qevdevtouchhandler.cpp')
0 files changed, 0 insertions, 0 deletions