path: root/tests/benchmarks/corelib/thread
diff options
authorJiang Jiang <>2011-07-28 14:51:54 +0200
committerQt by Nokia <>2011-07-29 08:12:12 +0200
commit487583459ea7958f24cd579888a662bcce26caf3 (patch)
treea5d804e30c1ec5257586e4e74b6886c8c4e6b960 /tests/benchmarks/corelib/thread
parent78cf553469bbfc0a5b4952d54ffe96566cae266c (diff)
Fix off-by-one error in binary search
This one-line change makes the binary search in QTextEngine::findItem behave consistently with the linear search that it replaced in commit acf678e57ed088f3e56a551cac6c7c3322005750. The new behavior seems to cause crashes in kword (and perhaps other applications) by triggering a logClusters assert, although I have been unable to create a unit test that reproduces this. Task-number: QTBUG-17209 Done-by: Dr. Robert Marmorstein <> Change-Id: I68b79f024e9836e1cc8b0f3514889120541eb2ea Reviewed-on: Reviewed-by: Qt Sanity Bot <> Reviewed-by: Jiang Jiang <>
Diffstat (limited to 'tests/benchmarks/corelib/thread')
0 files changed, 0 insertions, 0 deletions