fix crash when attach differ shellsurface to the same shellsurfaceitem
Change shellSurface from a raw pointer to a QPointer to prevent
crash caused by accessing the wild pointer when shellSurface is destroyed
Pick-to: 6.8
Change-Id: Iabf25ce9e3fab416b5b927bf768e94398516a710
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| commit | 1f73059ec58b1e9ab137b701607b59cfa77750c9 |
| parent | 88f94bdbea19725b3c1a09e1f868c14dff286f53 |
| author | Heng Liu <liuhenga@uniontech.com> |
| committer | Gary Wang <git@blumia.net> |
| commit time | Tue, 12 Nov 2024 13:11:15 +0000 |