Replace private QCanvasBrush::createPaint with local helper
The only call-sites are in QCanvasPainter code, so add a helper there
that goes directly to the QCanvasBrushPrivate. This way we don't end up
with the private helper type QCPaint in the public header.
Addresses header review comment.
Pick-to: 6.12
Task-number: QTBUG-146286
Change-Id: I8d1e21f8ceb55b844c01210264ee439d27b2d549
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | 790875d569ee43fcfeaeba73a9fdb097842799ea |
| parent | b1d349d7d8c8aa9b8c5ce471e4115baea59e199b |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Mon, 24 Aug 2026 13:15:44 +0000 |