diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2013-10-01 00:21:52 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-24 15:33:19 +0100 |
commit | 432674d787124ecfd6f3e1cca74f13f0f0096e53 (patch) | |
tree | 49d1b61a9cffa7a78bf6466d20f3714f92703758 /src/plugins/platforms/qnx/qqnxinputcontext_imf.h | |
parent | 132e812556fc171e2aec398bb077152a9aeb3aac (diff) |
QWizard: Replace another pointer table with char arrays
Like in I53284066, the result of the SIGNALS() macro is handled in a switch
statement, while the other two character pointers in the struct are replaced
by character arrays of 'maximum occurring size'. If this looks wasteful, it
really isn't:
Linux AMD64 GCC 4.9-pre stripped -O2 effects:
text size: -280B
data size: -160B
relocs: -21
When adding longer strings, compilers will warn, so this doesn't hurt
maintainability, either.
Change-Id: I5ac1cdffd8ac0ea0a1ede1ea4edcc6d3e22dcaa2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Diffstat (limited to 'src/plugins/platforms/qnx/qqnxinputcontext_imf.h')
0 files changed, 0 insertions, 0 deletions