drawImage: Bail out on image.isNull()
One would expect nothing to be drawn when passing a "null", default
constructed QCImage. Whereas what it does now is drawing a black
filled rectangle, effectively.
Exercised in imagetester.
Pick-to: 6.11
Change-Id: I61e12fe377cede870de652a3b835b8917bc689a8
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | bf8c274a5731f1fb596ebb8d40b9ef5ae308ea0e |
| parent | 94e9cbf8ee727516980c6dea66f578a489465e70 |
| author | Laszlo Agocs <laszlo.agocs@qt.io> |
| committer | Laszlo Agocs <laszlo.agocs@qt.io> |
| commit time | Thu, 5 Feb 2026 10:25:44 +0100 |