diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-05-25 15:24:41 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2024-06-12 17:37:15 +0000 |
commit | 03d17faba025c814ea5b5b34cf7b82902aca129e (patch) | |
tree | 4d6d592baf6f745bf59a1c7bd8a11179acca5555 /src/svg/qsvggenerator.h | |
parent | 5fd94d6c26f25d773a72b49ee70d251ea3ebcbd1 (diff) |
Directly implement QSvgIconEngine::scaledPixmap() to avoid the loop
through QIconEngine::virtual_hook() and the fallback to
QSvgIconEngine::pixmap() which could then not correctly set the
devicePixelRatio on the pixmap so the QPixmapCache was rendered useless
for a dpr != 1.0.
Pick-to: 6.8
Change-Id: I980785eb1d3f383b249aab2ebcd627a8277093db
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/svg/qsvggenerator.h')
0 files changed, 0 insertions, 0 deletions