diff options
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-07-20 13:24:07 +0200 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2021-07-20 19:34:33 +0200 |
| commit | 5d7a58ea45ed834655220e05012ff17ac235131a (patch) | |
| tree | b4fb880ff7373952607a5373e9719ef17e773752 /src/network/access/qnetworkreply.cpp | |
| parent | d9f80502f6450f0bc8e6d7ca13e1c912ad485599 (diff) | |
Scale image with MDI icons using the correction factor
The buffer might be large than needed and contain a lot of uninitialized
pixels. Scaling it down to the requested size is wrong, we need to scale
it by the correction factor.
Amends e56b8e1e59b6df7c7abd48b163abe6846849eb7a.
As a drive-by, make the correction factor helper function static.
Fixes: QTBUG-94733
Pick-to: 6.2 6.1 5.15
Change-Id: Ia5be2a77459321e30485d330b49cf57fdbb664d2
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions
