diff options
| author | Konstantin Ritt <ritt.ks@gmail.com> | 2015-11-21 01:04:39 +0400 |
|---|---|---|
| committer | Konstantin Ritt <ritt.ks@gmail.com> | 2015-11-23 18:52:46 +0000 |
| commit | fa00afe7d760d91cf9c91f57dd2f77625e758e28 (patch) | |
| tree | b6c947fdc3f69c893592c3dd43ed8cbca0e30f43 /src/gui/doc/snippets/textblock-formats | |
| parent | 073a16e50e5803fc92dc46bca704f8a7ef79e597 (diff) | |
Optimize QTextEngine::findItem() usage cases
Since the item positions are guaranteed to grow, we could safely re-use
the obtained first item while looking for the last item in the chain.
Change-Id: I5e42f5de820c62a51a109a4b227b031c697aa898
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
Diffstat (limited to 'src/gui/doc/snippets/textblock-formats')
0 files changed, 0 insertions, 0 deletions
