diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-03-19 20:32:56 +0100 |
|---|---|---|
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2025-03-20 19:37:23 +0000 |
| commit | 7a238e1225f49b81772516ed5d0a5a4f4f2e9268 (patch) | |
| tree | ffd1ced876b64d1b6ae28e2c04f43c32f5c4eea5 /src/network/access/qhttpnetworkrequest.cpp | |
| parent | bd6e55c856e3c016048410f69919e443c71628bf (diff) | |
QLabel: don't cache scaled pixmap in QIcon
Caching the scaled QPixmap directly in QIcon is not a good idea
- the cached pixmap might be used as starting point for a pixmap with
another size so it gets blurry
- QIcon has no caching mechanism to throw away unneeded QPixmaps after
some time so the memory usage grows indefinitely
Pick-to: 6.9 6.9.0
Fixes: QTBUG-134930
Change-Id: Ic490ba15438a5cd07a555692e1d08cd1c211d005
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/network/access/qhttpnetworkrequest.cpp')
0 files changed, 0 insertions, 0 deletions
