path: root/tests/auto/corelib/tools/qmap
diff options
authorEirik Aavitsland <>2020-04-21 09:55:05 +0200
committerVolker Hilsheimer <>2021-11-29 13:25:31 +0100
commit8fbedf2196a292fe2affcf83ddc846b9c852772a (patch)
treec167c1dc37a375a55c80daa9cfd396ba204fcd06 /tests/auto/corelib/tools/qmap
parenta892a7b2caf4e915acb0cb1f6007d63c1d0fb40b (diff)
QTextDocument: fix an off-by-one in the changed signal for lists
When blocks are added or removed in block groups, i.e. items added or removed from text lists, the whole group is marked as changed, but the calculation of the before/after group length would be one off. That was reflected in the contentsChange signal. Add unit test. Since the whole group changes when list items are added, text is removed and the change-begin is not where the cursor was when the change was made. Fixes: QTBUG-82455 Pick-to: 6.2 5.15 Change-Id: I99ee2cfef4944fcac8aca492741fd0f3b0de4920 Reviewed-by: Volker Hilsheimer <> Reviewed-by: Eirik Aavitsland <>
Diffstat (limited to 'tests/auto/corelib/tools/qmap')
0 files changed, 0 insertions, 0 deletions