Fix QWaylandQuickShellSurfaceItem not tracking its shellSurface


When the shell surface is destroyed, i.e. by hiding the QtWaylandClient's
window, QWaylandQuickShellSurfaceItem does not emit shellSurfaceChanged()
and may cause a dangling pointer dereference.

Pick-to: 6.10 6.8 6.5
Task-number: QTBUG-138907
Change-Id: I99665ebce41334ace72103fdeb2956986cfc7ef4
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit9847c3b8cec0f8f1e1ef1965fad2477b90c27c64
parent586e489ce426e833729c333499cb98a06fbae1b0
authorKonstantin Ritt <ritt.ks@gmail.com>
committerKonstantin Ritt <ritt.ks@gmail.com>
commit timeSat, 6 Dec 2025 00:28:21 +0000