diff options
author | Stephen Kelly <steveire@gmail.com> | 2016-04-18 23:27:12 +0200 |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2016-04-21 21:13:08 +0000 |
commit | 9def501433e80e1a45c0d7888b9ceba4e32ca1fa (patch) | |
tree | 28ed0a024ce1ad9077b3c2e3e5a0f93cd205c26c /tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp | |
parent | bbd1228b17ee3f3a5483f88b0a581d6a60c41cad (diff) |
QString: Avoid searching for a needle which is longer than the hay
Avoid incurring the cost of converting the latin1 data in that case.
Several existing QString unit tests excercise the new code path.
Task-number: QTBUG-52617
Change-Id: I27256d9e7db34f09543e244a79d754ff7932f0d0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/widgets/itemviews/qheaderview/tst_qheaderview.cpp')
0 files changed, 0 insertions, 0 deletions