Remove trailing space from QDebug stream
authorKai Koehne <kai.koehne@digia.com>
Wed, 16 Oct 2013 13:59:27 +0000 (15:59 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 6 Dec 2013 12:33:10 +0000 (13:33 +0100)
commit326e9c8962532f66109f94f224f891c4445ce87f
tree382c9c6eb7bc66382d095e944acaa912b9dfcb98
parent6c322a917ad57d57f0ee76825eab3e2e008c5bd4
Remove trailing space from QDebug stream

It's unexpected that all messages generated by the stream version
of qDebug and friends have a trailing space. It also makes switching
to categorized logging (which only supports the stream version) difficult,
since all autotests checking for debug output would have to be adapted.

Task-number: QTBUG-15256
Change-Id: I8d627a8379dc273d9689f5611184f03607b73823
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
29 files changed:
src/corelib/io/qdebug.h
tests/auto/corelib/global/qlogging/tst_qlogging.cpp
tests/auto/corelib/io/qdebug/tst_qdebug.cpp
tests/auto/corelib/io/qnodebug/tst_qnodebug.cpp
tests/auto/corelib/itemmodels/qsortfilterproxymodel/tst_qsortfilterproxymodel.cpp
tests/auto/corelib/json/tst_qtjson.cpp
tests/auto/corelib/kernel/qobject/tst_qobject.cpp
tests/auto/network/socket/qlocalsocket/tst_qlocalsocket.cpp
tests/auto/other/qvariant_common/tst_qvariant_common.h
tests/auto/testlib/selftests/expected_counting.lightxml
tests/auto/testlib/selftests/expected_counting.txt
tests/auto/testlib/selftests/expected_counting.xml
tests/auto/testlib/selftests/expected_counting.xunitxml
tests/auto/testlib/selftests/expected_globaldata.lightxml
tests/auto/testlib/selftests/expected_globaldata.txt
tests/auto/testlib/selftests/expected_globaldata.xml
tests/auto/testlib/selftests/expected_globaldata.xunitxml
tests/auto/testlib/selftests/expected_subtest.lightxml
tests/auto/testlib/selftests/expected_subtest.txt
tests/auto/testlib/selftests/expected_subtest.xml
tests/auto/testlib/selftests/expected_subtest.xunitxml
tests/auto/testlib/selftests/expected_verbose1.lightxml
tests/auto/testlib/selftests/expected_verbose1.txt
tests/auto/testlib/selftests/expected_verbose1.xml
tests/auto/testlib/selftests/expected_verbose1.xunitxml
tests/auto/testlib/selftests/expected_verbose2.lightxml
tests/auto/testlib/selftests/expected_verbose2.txt
tests/auto/testlib/selftests/expected_verbose2.xml
tests/auto/testlib/selftests/expected_verbose2.xunitxml