Ensure that parseStopNode() uses a valid color
The old code did not check constructColor()'s return value, so it may
then use the default constructed, invalid QColor object. Use black as a
fallback instead.
Coverity-Id: 432987
Change-Id: Ib77d487391f4e783adddd66af771efeaf3e14f31
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
| commit | 44f83cdadde01b638235660272d3b3602f7931c5 |
| parent | 886347032c2168f9427d5f428ce4af3d049104ea |
| author | Robert Löhning <robert.loehning@qt.io> |
| committer | Robert Löhning <robert.loehning@qt.io> |
| commit time | Thu, 23 Oct 2025 11:19:39 +0200 |