qt5base-lts/tests/auto/corelib/io/qdebug
David Faure 91c9cae720 QDebugStateSaver: call maybeSpace() in destructor.
tst_qdebug didn't test adding something else after the MyLine object,
so I didn't realize that a space was missing there. All debug operators
should end with maybeSpace(), but with the settings of the caller, so this
requires restoring the settings before calling it. To make it convenient
for all << operators, the destructor of QDebugStateSaver takes care of that.

Change-Id: I18ab78d99d7ee3be951082b5b5d34718ee60e21d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2014-03-13 17:59:50 +01:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qdebug.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tst_qdebug.cpp QDebugStateSaver: call maybeSpace() in destructor. 2014-03-13 17:59:50 +01:00