QCanvasBrush: make data member private, remove protected c'tor
There are no more QCanvasBrush subclasses, so the protected access is no
longer needed. The create() helper in the private can initialize the
baseData member directly, as the private type is a friend of the public.
Pick-to: 6.12
Task-number: QTBUG-146286
Change-Id: I94f2c2ab6a0e9c7f511a76f651f035157070f6f6
Reviewed-by: Kaj Grönholm <kaj.gronholm@qt.io>
| commit | 8fd9a33b79014f8a9b113a9cd858a359793860cf |
| parent | 790875d569ee43fcfeaeba73a9fdb097842799ea |
| author | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| committer | Volker Hilsheimer <volker.hilsheimer@qt.io> |
| commit time | Mon, 24 Aug 2026 19:49:07 +0000 |