diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2017-12-12 11:50:10 +0100 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2017-12-14 13:35:32 +0000 |
commit | 2356c173b2952f6ab6767abac12a21688324fcc5 (patch) | |
tree | a175168e23e47127e4c979dd99748df82d588da0 /src/printsupport/kernel/qprinterinfo.cpp | |
parent | ff2ae36551b75b2c8a2d1f73e4d1e956b4eadb62 (diff) |
QPlatformPrintDevice: store QPageSize/QMimeType/int in QList, not QVector
This commit pains me, because we want Qt to migrate away from QList,
but the QtPrint API stack (all the way to public API, for QPageSize,
and int) is formulated in terms of QList, not QVector, so it makes
zero sense to store data in QVectors just to convert to QList on every
opportunity.
Store QMimeType in QList, too, since that's what QtCore uses.
Saves 3KiB in text size (0.7% of QtPrintSupport).
Change-Id: I71249f60be517cc06973b38d9ccad7a31f348be3
Reviewed-by: Albert Astals Cid <albert.astals.cid@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/printsupport/kernel/qprinterinfo.cpp')
0 files changed, 0 insertions, 0 deletions