Fix window list in custom-extension example
The window list in the compositor wasn't updated when a client window
appeared, because itemList had type var and assignment (w/o prior
.slice() call) wouldn't update it.
While at it, modernized QML and resolved issues (unqualified access,
structure, unused code, etc.).
Pick-to: 6.12 6.11
Change-Id: I8712f5c42ae4ec91b70f1c149134211463928681
Reviewed-by: Robert Griebl <robert.griebl@qt.io>
| commit | 9f36c369463d909675f23bb2fa7beb1e2ef50784 |
| parent | 8aeda283c88263ad73475c7940f9829b7ea8308f |
| author | Bernd Weimer <bernd.weimer@qt.io> |
| committer | Bernd Weimer <bernd.weimer@qt.io> |
| commit time | Tue, 16 Jun 2026 07:01:44 +0000 |