summaryrefslogtreecommitdiffstats
path: root/src/corelib/itemmodels
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-08-27 00:00:03 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-06-24 13:27:53 +0000
commit862b1b3cebb21658684e9166576dadc1c371322f (patch)
tree7d321409ab89b1c04d4bf8bc8a0f14e1e9b28414 /src/corelib/itemmodels
parent3290330d44015f7eb42b5a10291e23363fef8c0e (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/corelib/itemmodels')
0 files changed, 0 insertions, 0 deletions