diff options
| author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-04-19 22:05:15 +0200 |
|---|---|---|
| committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2024-04-22 20:26:52 +0200 |
| commit | f5fa811e882bdbb2e4d3c3c3f4df1553e8cf0f87 (patch) | |
| tree | cde3e95fa9c9a40cadb8643a0e220fd3188274a4 /src/tools/uic/cpp/cppwriteinitialization.cpp | |
| parent | 896c4fe4279f7dc761dcd59f7b0cde070c38b3cb (diff) | |
QCommonStyle: don't use a QImage when drawing arrows
Using a QImage as a paintDevice is not needed - directly paint on a
QPixmap. Also use styleCachePixmap() which avoids the need for
multiplying the size with the dpr.
Change-Id: I114f78c20d2b92b4fd135c8f64b452fb81a02baf
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
