qt5base-lts/tests/auto
Giuseppe D'Angelo 601d685849 Make mid() and midRef() properly return empty, non-null objects
If we request a substring starting at the very end of the string,
QString::mid should return an empty string, not a null string.
For instance, QString("abc").mid(3, 0) used to return a null
one, while this patch makes it return an empty one. The
same thing applies to QString::midRef() and QByteArray::mid().

Change-Id: Ie9efd7a0622d429efd0fb682c19856c19e9469af
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
2012-01-24 17:36:11 +01:00
..
bic Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
compilerwarnings/data Update contact information in license headers. 2012-01-23 04:04:33 +01:00
corelib Make mid() and midRef() properly return empty, non-null objects 2012-01-24 17:36:11 +01:00
dbus Update contact information in license headers. 2012-01-23 04:04:33 +01:00
gui Made window orientation API more flexible. 2012-01-24 15:38:48 +01:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Changed qnetworkdiskcache unittest to cleanup test directory. 2012-01-24 06:59:21 +01:00
opengl Update contact information in license headers. 2012-01-23 04:04:33 +01:00
other Make mid() and midRef() properly return empty, non-null objects 2012-01-24 17:36:11 +01:00
sql Update contact information in license headers. 2012-01-23 04:04:33 +01:00
testlib Update contact information in license headers. 2012-01-23 04:04:33 +01:00
tools Update contact information in license headers. 2012-01-23 04:04:33 +01:00
widgets Remove QEventLoop::DeferredDeletion 2012-01-23 14:47:10 +01:00
xml Update contact information in license headers. 2012-01-23 04:04:33 +01:00
auto.pro Remove QtV8 library from QtBase 2012-01-09 19:54:07 +01:00
network-settings.h Update contact information in license headers. 2012-01-23 04:04:33 +01:00
platformquirks.h Update contact information in license headers. 2012-01-23 04:04:33 +01:00
test.pl Update contact information in license headers. 2012-01-23 04:04:33 +01:00