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 Fixes: QTBUG-134930 Change-Id: Ic490ba15438a5cd07a555692e1d08cd1c211d005 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> (cherry picked from commit 7a238e1225f49b81772516ed5d0a5a4f4f2e9268) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 04cb0a1b55cc3c2b402d22f9f7a76b726407dc71) Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%