summaryrefslogtreecommitdiffstats
path: root/src/gui/accessible/qaccessiblehelper_p.h
diff options
context:
space:
mode:
authorChristian Ehrlicher <[email protected]>2025-10-31 22:18:03 +0100
committerChristian Ehrlicher <[email protected]>2025-11-05 01:08:40 +0100
commit9ab79b4b578e44404a0c66d9b3db8d9f45697426 (patch)
tree2783ef05d4e02cc2844221c5423db9a904455b12 /src/gui/accessible/qaccessiblehelper_p.h
parent4e6d91c0a66bef7c99017d92da63875ab3e54d8c (diff)
QImageTextureGlyphCache: don't try to paint on empty imageHEADdev
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/gui/accessible/qaccessiblehelper_p.h')
0 files changed, 0 insertions, 0 deletions