diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-24 01:49:34 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-07-13 10:37:15 +0000 |
commit | 53ec85637ca55d63a765b10f2714eada57dc1ded (patch) | |
tree | 320bee68492b0ea478ab1ae855d9594e2f5382aa /bin | |
parent | cf0ddf24c02faf3de20fb4821cb9aed7915501d3 (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