qt5base-lts/tests/auto/corelib
Kai Koehne e668837b9c QDebugStateSaver: Fix trailing space issues
~QDebug() removes any trailing space if autoInsertSpaces() is true.
However, if one uses QDebugStateSaver the global autoInsertSpaces might
be false, but a space was added by a custom operator<<.

Explicitly check for this in QDebugStateSaverPrivate::restoreState. Remove
any trailing space if the local state asks for adding trailing spaces, but
the original one doesn't. Add a trailing space if the local state doesn't
ask for one, but the global state does.

Change-Id: I243b5c76d5ed2c1ec4820da35ab6e254da1551d9
Reviewed-by: David Faure <david.faure@kdab.com>
2014-07-23 13:33:25 +02:00
..
animation Updated corelib's unit tests to use QSignalSpy's functor constructor 2014-05-08 04:22:54 +02:00
codecs Merge remote-tracking branch 'origin/release' into stable 2014-05-14 12:37:34 +02:00
global Logging: fix support for %{time format} in QT_MESSAGE_PATTERN 2014-07-13 18:20:42 +02:00
io QDebugStateSaver: Fix trailing space issues 2014-07-23 13:33:25 +02:00
itemmodels QAbstractProxyModel: Forward drop-related API. 2014-06-25 16:31:03 +02:00
json Add initializer list support in QJsonArray 2014-07-04 08:24:05 +02:00
kernel Update QVariant tests 2014-07-10 13:14:40 +02:00
mimetypes test: Don't build qmimedatabase-cache for QNX 2014-01-16 16:11:04 +01:00
plugin Merge remote-tracking branch 'origin/5.3' into dev 2014-07-01 16:25:19 +02:00
statemachine Export QStateMachine running property. 2014-06-26 09:32:15 +02:00
thread Merge remote-tracking branch 'origin/5.3' into dev 2014-07-03 23:56:45 +02:00
tools Make QRingBuffer::append() not leave empty arrays in buffer list 2014-07-23 07:31:09 +02:00
xml Include the duplicated attribute name in the error message 2014-05-06 01:20:19 +02:00
corelib.pro iOS: Enable building of basic tests 2014-01-22 12:35:17 +01:00