diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2012-02-16 14:39:51 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-17 05:27:22 +0100 |
commit | 03cbcab18471c02878b0207e2a59976ffa76caa5 (patch) | |
tree | 581f2ffb5b3d866b76a0415c61147e5308ca5301 /src/corelib/plugin | |
parent | 48a366e6c87ac3572405d55a361f070e8b94902c (diff) |
xcb: avoid use of statically-sized QList
Change the use of QList<QPair<>> to a simple C array of xcb_keycode_t*s.
This is possible since the number of elements in the container is
statically known.
I have not measured speedup; this is just preventing premature pessimisation.
Change-Id: I8855fc8a4e7ee840d8b7497ec4166074da7d8ea8
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/corelib/plugin')
0 files changed, 0 insertions, 0 deletions