diff options
author | Bernd Weimer <bernd.weimer@qt.io> | 2022-11-22 16:49:13 +0100 |
---|---|---|
committer | Bernd Weimer <bernd.weimer@qt.io> | 2022-11-25 08:49:56 +0100 |
commit | dd5f398ea2cd66dccba1582cd910e398e8f66029 (patch) | |
tree | 26f7bd9148895f9c7f9c0da5a06299580ff2aa78 /examples/wayland/spanning-screens/main.qml | |
parent | c14916f5fd84f6b5483024b3df77592661a0f04e (diff) |
Improve examples
Updated signal handlers to new syntax to reduce noise (warnings).
Allowed to build examples with subfolders in one step, updated from
deprecated WlShell to XdgShell, etc.
Change-Id: If821363ffd1b38ea1d152f5a044b0609cf739014
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'examples/wayland/spanning-screens/main.qml')
-rw-r--r-- | examples/wayland/spanning-screens/main.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/spanning-screens/main.qml b/examples/wayland/spanning-screens/main.qml index bff344b7d..d47246dee 100644 --- a/examples/wayland/spanning-screens/main.qml +++ b/examples/wayland/spanning-screens/main.qml @@ -65,7 +65,7 @@ WaylandCompositor { } XdgShell { - onToplevelCreated: { + onToplevelCreated: (toplevel, xdgSurface) => { const shellSurface = xdgSurface; // ![create items] |