diff options
| author | Christian Ehrlicher <[email protected]> | 2025-10-31 22:18:03 +0100 |
|---|---|---|
| committer | Christian Ehrlicher <[email protected]> | 2025-11-05 01:08:40 +0100 |
| commit | 9ab79b4b578e44404a0c66d9b3db8d9f45697426 (patch) | |
| tree | 2783ef05d4e02cc2844221c5423db9a904455b12 /src/plugins/platforms/windows/qwindowsinternalmimedata.cpp | |
| parent | 4e6d91c0a66bef7c99017d92da63875ab3e54d8c (diff) | |
When a QGraphicsView has a very small scale factor, textureMapForGlyph()
might return an empty QImage. Using a QPainter on such an image will
result in warnings (e.g. when running tst_qgraphicsview matrix).
Therefore add a check for this and bail out early.
Pick-to 6.10 6.8
Change-Id: I3c2e1458db3ae2fd3309d79856c2e49b8e63a1c7
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsinternalmimedata.cpp')
0 files changed, 0 insertions, 0 deletions
