summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2014-08-16 13:05:31 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-06-22 10:43:17 +0000
commit426d9b9c3ea0c28ab7e7cd065fe4ae597d58a0e9 (patch)
tree8e3a003a63bc5e4df2042e36d8aa726aefe118a2 /src/gui
parent831a7e06c0f3df5b93ae27e3535fe64188ececb6 (diff)
QtIcoHandler: don't hold images in QList
QImage is larger than a void*, so holding them in a QList is needlessly inefficient. Worse, the code could come to depend on the fragile property of (inefficient) QLists that references to elements therein never are invalidated. Also added a reserve() call. Change-Id: I36388f2efbc6ca025f123c30bc7f1dd312bf4ab2 Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com> Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
Diffstat (limited to 'src/gui')
0 files changed, 0 insertions, 0 deletions