summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2018-06-25 12:19:02 +0200
committerEirik Aavitsland <eirik.aavitsland@qt.io>2018-06-25 13:04:35 +0000
commit0877ced9806c99d02454a7336ecf0299bc4113ae (patch)
treefd8512a47bc6e9d50edd00541530b5d51772b3b5 /tests/auto
parent92b3ef24ed35b405f50ac67b2e51e74eb384451b (diff)
Fix: crash when painting with high-dpr image brush
The recently merged f5fe9fc5a4 (Add ObjectMode to QGradient) changed combineXForm() to check the brush's gradient's coordinatemode. However, combineXForm() is now also used when painting with high-dpr image brush. In the latter case, the gradient is 0 so this would crash. Testcase: tst_lancelot, image_dpr.qps. Change-Id: I5e2785ef708768c3fa3eac0999c9c24fd25108f4 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions