diff options
| author | Eirik Aavitsland <[email protected]> | 2019-06-03 14:45:07 +0200 |
|---|---|---|
| committer | Eirik Aavitsland <[email protected]> | 2019-06-04 07:14:03 +0000 |
| commit | a4f79313f065815451610dabdbbb33b8a35f0a86 (patch) | |
| tree | fa794e99a27468c258aa0acccd446b3b81625a98 /src/plugins/platforms/wasm/qwasmopenglcontext.cpp | |
| parent | 7fc67e09f3f0c6c14392702efb01bd861a410fb7 (diff) | |
Fix: QTextDocument::find backward search crossing paragraphs
If the start position of a backward string search was the at the start
of a paragraph, the code would start searching at an illegal position
(at the eol character) in the preceding paragraph. That caused
that whole paragraph to be skipped, so any matches there
would not be found. Fix by making sure the search starts at legal
position.
Fixes: QTBUG-48035
Change-Id: Id6c0159b6613ec75ec617a0a57096ceef2b4cbd0
Reviewed-by: Konstantin Ritt <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmopenglcontext.cpp')
0 files changed, 0 insertions, 0 deletions
