diff options
| author | Marc Mutz <marc.mutz@kdab.com> | 2014-10-09 23:23:14 +0200 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@kdab.com> | 2015-02-12 19:42:01 +0000 |
| commit | 1c0f24767136e19363f3bf0e7427e4153b542892 (patch) | |
| tree | 4ce4dc1193f8d67e81fa468371cda4ab42e10712 /src/corelib/codecs/qtextcodec.cpp | |
| parent | fc8323fec65f172b315282a08b0654ada6c8f95c (diff) | |
Simplify QTableGenerator::printComposeTable()
Instead of filling a QString with lots of temporaries in-between,
simply stream everything into QDebug directly.
Requires the use of #ifndef QT_NO_DEBUG_STREAM because of the
explicit mentioning of QDebug.
Further simplified it by removing the complicated trailing-comma
handling. The struct-like output can tolerate a trailing comma
which has been allowed in C/C++ since its inception.
Change-Id: I0393a37cd21a50e902c8cb9f8b752ebb946d1669
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/corelib/codecs/qtextcodec.cpp')
0 files changed, 0 insertions, 0 deletions
