diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2012-09-03 15:45:43 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-09-05 12:46:45 (GMT) |
commit | da034a9a68ce75b7b7b48758f43f1cb69699549a (patch) | |
tree | d8ecb20c1bb64e8d55699735f2344ffae7b559c9 /mkspecs/macx-g++42 | |
parent | 356a74042d51b9d12b892bfdfb2e59322a3f9c73 (diff) | |
download | Qt-da034a9a68ce75b7b7b48758f43f1cb69699549a.zip Qt-da034a9a68ce75b7b7b48758f43f1cb69699549a.tar.gz Qt-da034a9a68ce75b7b7b48758f43f1cb69699549a.tar.bz2 |
Optimize QTextEngine::findItem by using a binary search.
This is basically a backport from Qt5:
- revert the revert: 22995948cd3f46780be5d8016708aeef0cd7b066
- backport from qtbase: 487583459ea7958f24cd579888a662bcce26caf3
this fixes the off-by-one error in the binary search
Task-number: QTBUG-17209
Task-number: QTBUG-231
Change-Id: I7f62fb33cf919ecd7fb2246ae01bb23559e11bf4
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
Diffstat (limited to 'mkspecs/macx-g++42')
0 files changed, 0 insertions, 0 deletions