summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml/qml/main.qml
diff options
context:
space:
mode:
authorGiulio Camuffo <giulio.camuffo@kdab.com>2016-02-08 19:31:59 +0200
committerGiulio Camuffo <giuliocamuffo@gmail.com>2016-02-11 16:22:41 +0000
commit19d018dd6c7023dff7f7dcbaa7c38e486897495c (patch)
tree13614bfef93e529e73e02e355b7780833ef8cd03 /examples/wayland/pure-qml/qml/main.qml
parentb4f3f890475b50fac20c0d542a584dfdab4888a7 (diff)
Add surface roles back
Task-number: QTBUG-49809 Change-Id: Id62ddea68c89b6999b66d3df8eeeffd858ae844f Reviewed-by: Paul Olav Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'examples/wayland/pure-qml/qml/main.qml')
-rw-r--r--examples/wayland/pure-qml/qml/main.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml
index 0a72f7dd5..338c00f80 100644
--- a/examples/wayland/pure-qml/qml/main.qml
+++ b/examples/wayland/pure-qml/qml/main.qml
@@ -69,7 +69,7 @@ WaylandCompositor {
onCreateShellSurface: {
var item = chromeComponent.createObject(defaultOutput.surfaceArea, { "surface": surface } );
- item.shellSurface.initialize(defaultShell, surface, client, id);
+ item.shellSurface.initialize(defaultShell, surface, resource);
}
Component.onCompleted: {