Don't leak applied trim path
The applied trim path can either be owned or borrowed. Tag the pointer
with the respective bit and delete owned trim paths when the shape is
deleted. Clone owned trim paths when the shape is cloned.
Pick-to: 6.11
Change-Id: I55c527f2a681c8fa299f39c1b0c4203092995178
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
| commit | 698a4a833c380501a12dfd8da1a960e6b0b970b8 |
| parent | fccc95ffb1756e94eb89cfb043e65cf2445fb286 |
| author | Ulf Hermann <ulf.hermann@qt.io> |
| committer | Ulf Hermann <ulf.hermann@qt.io> |
| commit time | Thu, 8 Jan 2026 15:34:21 +0100 |