diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-04-19 20:38:43 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-04-22 20:26:51 +0200 |
| commit | c6c6dc471c935761e243147d7c55c29799ce57cc (patch) | |
| tree | cbf52cd499f420a32a6e1bc3de1ce5aec03c659b /src/tools/uic/cpp/cppwriteinitialization.cpp | |
| parent | cbed43982c9701e55453c1221fa27112a5fc02b2 (diff) | |
QStyle: let styleCachePixmap() use the correct devicePixelRatio
The helper function styleCachePixmap() might not be using the correct
dpr. It was written in a time when there was only one application-wide
dpr available but nowadays we have to use the dpr from the paintDevice
we paint on instead.
As a drive-by replace the one usage of styleCacheImage() by
styleCachePixmap() and remove the now superfluous function.
Change-Id: I14eb3fd3bad7f9299d42b63b03fa1f68b4f81cd6
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Reviewed-by: Wladimir Leuschner <wladimir.leuschner@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.cpp')
0 files changed, 0 insertions, 0 deletions
