Make QCanvasGradient destructor protected
We have subclasses, and while those don't add any data members, a "raw"
gradient has no meaning, and we shouldn't store or pass copies of that
type around anyway. QCanvasGradient only exists to avoid duplicating
the common API and documentation relating to gradient stops.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Paul Olav Tvete <paul.tvete@qt.io>
Change-Id: Ic83e94571e168a507577382dce8494d8a35122a2
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>