qt6-bb10/tests/auto/corelib
Eskil Abrahamsen Blomfeldt 4bf0660ae4 Make QStringRef::right() consistent with QString::right()
The implementation was inconsistent with QString::right(),
and did not return the N rightmost characters but actually did
the same as QString::mid(N) (returning the rightmost size - N
characters.)

Since this function is fairly recent (Qt 5.2), is documented to
behave the same as QString::right(), and since these APIs are
meant to be interchangeable, this needs to be fixed, even though
it changes behavior.

[ChangeLog][Important Behavior Changes] Changed QStringRef::right()
to be consistent with QString::right(). The function now returns
the N right-most characters, like the documentation already claimed.

Change-Id: I2d1cd6d958dfa9354aa09f16bd27b1ed209c2d11
Task-number: QTBUG-41858
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
2014-10-14 11:32:55 +02:00
..
animation Update license headers and add new license files 2014-09-24 12:26:19 +02:00
codecs Update license headers and add new license files 2014-09-24 12:26:19 +02:00
global Logging: Disable tracking of debug source info for release builds 2014-10-01 16:06:27 +02:00
io Merge "Merge remote-tracking branch 'origin/5.3' into 5.4" into refs/staging/5.4 2014-10-01 16:21:12 +02:00
itemmodels Update license headers and add new license files 2014-09-24 12:26:19 +02:00
json Update license headers and add new license files 2014-09-24 12:26:19 +02:00
kernel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
mimetypes Update license headers and add new license files 2014-09-24 12:26:19 +02:00
plugin Update license headers and add new license files 2014-09-24 12:26:19 +02:00
statemachine Update license headers and add new license files 2014-09-24 12:26:19 +02:00
thread Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tools Make QStringRef::right() consistent with QString::right() 2014-10-14 11:32:55 +02:00
xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00