summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2015-06-24 01:49:34 +0200
committerMarc Mutz <marc.mutz@kdab.com>2015-07-13 10:37:15 +0000
commit53ec85637ca55d63a765b10f2714eada57dc1ded (patch)
tree320bee68492b0ea478ab1ae855d9594e2f5382aa /bin
parentcf0ddf24c02faf3de20fb4821cb9aed7915501d3 (diff)
QImageIOHandler: don't create QLists just to count their elements
Q(Multi)Map::keys() returns duplicated keys, so keys().size() will always be the same as the map's size(). So use that directly instead of creating temporary QLists to check the size. Change-Id: I0600d1845e25be3b825e4ae470c1ef41a3a5d2c9 Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions