diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2014-08-27 00:00:03 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-24 13:27:53 +0000 |
commit | 862b1b3cebb21658684e9166576dadc1c371322f (patch) | |
tree | 7d321409ab89b1c04d4bf8bc8a0f14e1e9b28414 /src/platformsupport/dbusmenu | |
parent | 3290330d44015f7eb42b5a10291e23363fef8c0e (diff) |
Micro-optimize QKeySequence datastream operator (I)
Instead of creating a QList with the keys with one of two statically
known sizes, stream the contents itself. Apart from QDataStream,
this no longer allocates any memory.
Change-Id: I5ed814b186dcaf8cc7dedcc520928aefab01f009
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/platformsupport/dbusmenu')
0 files changed, 0 insertions, 0 deletions