summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-08-22 17:33:26 +0200
committerJohan Helsing <johan.helsing@qt.io>2016-08-23 10:38:18 +0000
commita40d9903ae99ce12f66a79347811a54378b1c083 (patch)
treeda891fa3ca9cc9861aa79e6eee92aaa9501c0f72 /examples
parentaee2b77784118ffe29f19a4d767a541c1f344fdf (diff)
downloadqtwayland-a40d9903ae99ce12f66a79347811a54378b1c083.tar.gz
Remove extensions array from the minimal QML compositor example
Change-Id: Ia89c19b741754473d680de6e8f5ee558176b992b Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@hawaiios.org>
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/minimal-qml/main.qml18
1 files changed, 8 insertions, 10 deletions
diff --git a/examples/wayland/minimal-qml/main.qml b/examples/wayland/minimal-qml/main.qml
index 7894a032..ce64084c 100644
--- a/examples/wayland/minimal-qml/main.qml
+++ b/examples/wayland/minimal-qml/main.qml
@@ -71,14 +71,12 @@ WaylandCompositor {
// shells (window management protocols). When the
// client creates a new window, we instantiate a
// chromeComponent on the output.
- extensions: [
- WlShell {
- onWlShellSurfaceCreated:
- chromeComponent.createObject(surfaceArea, { "shellSurface": shellSurface } );
- },
- XdgShell {
- onXdgSurfaceCreated:
- chromeComponent.createObject(surfaceArea, { "shellSurface": xdgSurface } );
- }
- ]
+ WlShell {
+ onWlShellSurfaceCreated:
+ chromeComponent.createObject(surfaceArea, { "shellSurface": shellSurface } );
+ }
+ XdgShell {
+ onXdgSurfaceCreated:
+ chromeComponent.createObject(surfaceArea, { "shellSurface": xdgSurface } );
+ }
}