Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.2
-
None
-
-
3b7db8ac90ba36949cb4168f07cc8dace47758a7 (qt/qtbase/5.12)
Description
From the new feature in Qt5.12.2
- Added presets for QGradient based on https://webgradients.com/
It crashes if we place direct a number that does not exist in QGradient::Preset enumarator.
fillRect(0, 0, cx, cy, (QGradient::Preset) 0 ); (crashes here)
and between the published 1-180 in https://webgradients.com/
missing numbers: 27,39,40,45,71,74,105,111,119,130,135,141
Attachments
For Gerrit Dashboard: QTBUG-74648 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
257497,2 | Fix assert/crash when creating QBrush with null QGradient | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |