diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2021-08-04 16:42:07 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2021-08-05 11:32:02 +0200 |
commit | 726119c43156d9522b7f22a8bcc3521980e7d7a8 (patch) | |
tree | 02eb3f556cd680e6752fdcd342c936ebe0931cb9 /src/plugins/platforms/xcb/README | |
parent | 2658f95d3c3aafe3d3da20bf02d597f70277cd8f (diff) |
QXpmHandler: clean up write_xpm_image: use conventional pointer arithmetic
... instead of *(array + index).
Also fix a pointless cast from QRgb to int which the next line
implicitly undoes (because colorMap has QRgb as key, not int) and get
rid of the local variables that facilitated said fallacy in the first
place.
Change-Id: I71a92822ee2404646f6fb5533e40252f38e6b21f
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/plugins/platforms/xcb/README')
0 files changed, 0 insertions, 0 deletions