qt5base-lts/tests/auto/corelib/global
Kai Koehne 5bfe794aaa Remove trailing '\n' in qFormatLogMessage output
Do not automatically add a \n to all messages formatted by
qFormatLogMessage. Some backends require a final newline,
some don't, so it's best to only append it where it's actually needed.

The returned string will be null if the pattern is empty. This allows
to differentiate between the case that the pattern just didn't apply
(empty line is printed), and the case that qSetMessagePattern(QString())
have been called (nothing is printed).

Change-Id: I17fde997a4074f58f82de6dea129948155c322d6
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
2014-10-27 08:59:02 +01:00
..
q_func_info Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qflags Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qgetputenv Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qglobal Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qglobalstatic Fix Q_GLOBAL_STATIC support for exceptions 2013-02-28 23:43:46 +01:00
qhooks Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qlogging Remove trailing '\n' in qFormatLogMessage output 2014-10-27 08:59:02 +01:00
qnumeric Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qrand Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtendian Update license headers and add new license files 2014-09-24 12:26:19 +02:00
global.pro Add a more reliable replacement for qt_add/removeObject(). 2014-04-15 17:50:20 +02:00