diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2021-08-04 19:12:10 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2021-08-06 17:08:10 +0200 |
commit | 6ba6e7585dff4198aa3e4b23035ba95fb988400f (patch) | |
tree | 1c7aa6f415fb0e9b3e91dd59bbd0ad363dd209d1 /.lgtm.yml | |
parent | 74515a7a30b809a3ab0a2d67496e870ea3c872e6 (diff) |
QXpmHandler: clean up write_xpm_image: cut out the QBA middle-man
Instead of appending to a QByteArray and then streaming that one, just
stream the components of a line directly. QTextStream's op<<(const
char*) is not subject to QT_NO_CAST_FROM_ASCII, etc., so can be used
unconditionally.
Change-Id: Idd97a75a1b5b939de7176d40880a2f328d01927d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to '.lgtm.yml')
0 files changed, 0 insertions, 0 deletions