summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-12-07 23:42:33 +0100
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2020-12-10 02:15:18 +0100
commitbe83ff65c424cff1036e7da19d6175826d9f7ed9 (patch)
tree45f0b414e7f3446ce66165680d55221c1fa80151 /doc
parent238f466d49a73bb81491f5de11bb6bdfdc12cc0b (diff)
QString::lastIndexOf: fix off-by-one for zero length matches
Otherwise, it would report that lastIndexOf of an empty pattern in an empty string doesn't exist. Next commit adds extensive autotests; for now, disable a broken autotest (which already features a comment about why it's broken). Change-Id: I9a0e5c0142007f81f5cf93e356c8bd82f00066f7 Pick-to: 5.15 6.0 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions