diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-03-26 20:10:40 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2025-03-27 21:55:52 +0100 |
| commit | c5c6df40bee57cc28427d36b4c7c6860ae14b722 (patch) | |
| tree | 0e8010310100767a53f9d1114c2b8396e04f39b6 /src/corelib/tools/qbitarray.cpp | |
| parent | d8caf6d89f662d4b3f0c0633fcce46e0f46ec5a7 (diff) | |
QIconLoaderEngine: use scaledPixmap() to properly pass dpr
QIconLoaderEngine::paint() was still using QIconLoader::pixmap() to
retrieve the pixmap for painting instead QIconLoader::scaledPixmap()
which takes the devicePixelRatio as additional parameter. In the case
of icon themes this could pick up the wrong pixmap (from the wrong
folder).
Pick-to: 6.9 6.8
Fixes: QTBUG-135159
Change-Id: I69ceada35f36c64675c4147cf284a180a4c69915
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/corelib/tools/qbitarray.cpp')
0 files changed, 0 insertions, 0 deletions
