qt5base-lts/tests/auto/corelib/tools/qstring
João Abecasis e57e2f3e32 Fix QString:mid and midRef, again
In commit 75286739 it was assumed that negative positions shouldn't
influence the size of the returned substring. That however changes
behaviour that was depended on even inside Qt.

With this change, the old behaviour is reestablished.

A negative value of n is still taken to mean "all the way to the end",
regardless of position, and overflows are still avoided.

Change-Id: I7d6ed17cc5e274c7c7ddf0eb0c3238e1159ec4f6
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
2012-03-12 19:53:59 +01:00
..
.gitignore Moving relevant tests to corelib/tools 2011-09-01 13:07:23 +02:00
double_data.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qstring.pro Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
tst_qstring.cpp Fix QString:mid and midRef, again 2012-03-12 19:53:59 +01:00