diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-12-03 21:41:31 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2023-12-07 23:04:59 +0100 |
commit | 7cb25eb33c7875c913b4cb0154afd741e602d8aa (patch) | |
tree | 5e56857d8d7920141ebfd8b31a1da35ed1664ffc /tests/auto/corelib | |
parent | 4b666553b8510fa12d0905cd10d6782e09ac5f56 (diff) |
QIconLoader::actualSize(): respect entry.scale on returned size
entryForSize() might return an entry with a scale != 1 (e.g. when
requesting the actual size for 32x32 it might return an entry with
size=16 and scale=2) but the returned size is not multiplied with this
scale so it returns a wrong size and in the case of QTBUG-114849 to a
wrong painting rect.
Pick-to: 6.6 6.5
Fixes: QTBUG-114849
Change-Id: I311e7401e61425efb20b37d13cc95c4b22d47e76
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/corelib')
0 files changed, 0 insertions, 0 deletions