diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-02-14 14:04:14 +0100 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2020-02-14 16:51:47 +0000 |
commit | dd6ffbec2496920b1bfe4f29cca1eba82e959869 (patch) | |
tree | 1c39ec7703af1fe7e5be0297a31af701cbabc695 /tests | |
parent | 57a7ec1c9d226e05e9453e17c582dc71c01185a0 (diff) |
Optimize QQuickPixmapCache readImage() slightly
Calling QImageReader::size() twice means calling the image format plugin
twice, so it's best to avoid that.
Change-Id: I4741e87c7c95252904d0dd9f484a57d953670559
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions