diff options
| author | Marc Mutz <[email protected]> | 2025-10-21 18:10:31 +0200 |
|---|---|---|
| committer | Marc Mutz <[email protected]> | 2025-10-30 22:56:25 +0000 |
| commit | e08bcaaa87d7832c158e631cb6df2aecd71fe62d (patch) | |
| tree | b4e4e50b4af63384de464d03cc46cc9ad6294dbb /src/corelib/io/qdataurl.cpp | |
| parent | 9e442a8e27000c7b925aa54a5a4c59e5ca2badb7 (diff) | |
Like getWordBreaks(), this one is a bit more complicated than the
first two, since there's a nested loop. Solve it by using a copy of
the QStringIterator for look-ahead loop.
To see that old and new version are equivalent, observe that qsizetype
`i` and `lookahead` always pointed _onto_, while QStringIterator
always points to just _after_ the last-consumed code-unit.
Pick-to: 6.10 6.8 6.5
Change-Id: Id272b1a1597912eb611acb544b5ef0ac1d13a754
Reviewed-by: Edward Welbourne <[email protected]>
Diffstat (limited to 'src/corelib/io/qdataurl.cpp')
0 files changed, 0 insertions, 0 deletions
