summaryrefslogtreecommitdiffstats
path: root/tests/auto/uiloader/baseline/stringlisteditor.ui
diff options
context:
space:
mode:
authorChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-05-25 14:54:34 +0200
committerChristian Ehrlicher <ch.ehrlicher@gmx.de>2024-06-13 21:15:08 +0000
commit245bdc8ec31755d6ab38b796014bdcab6a1d17ae (patch)
tree420fea3ae1f436e02d6146876575c86543cd8bbb /tests/auto/uiloader/baseline/stringlisteditor.ui
parent0a133035963b83e886578b9621b1275780c7d9cf (diff)
QIcon/QIconLoader: fix usage of scaledPixmap()HEADdev
QIconEngine::scaledPixmap() gets the unscaled size of the pixmap, not the scaled one. This is correctly handled by QSvgIconEngine, QAppleIconEngine, QAndroidPlatformIconEngine and QWindowsIconEngine but not internally. Therefore fix this here and also make sure the pixmap with the correct dpr is saved in the QPixmapCache to avoid a detach resulting in an increased memory usage when the pixmap dpr did not match the expected dpr. Fixes: QTBUG-124573 Change-Id: Ic75d7a89dae89da326c72cac326490f49d135fa7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests/auto/uiloader/baseline/stringlisteditor.ui')
0 files changed, 0 insertions, 0 deletions