diff options
author | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-03 14:12:50 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@theqtcompany.com> | 2015-09-04 16:12:47 +0200 |
commit | cc4fe466a1c7dfba937a0926b6f94900ce512942 (patch) | |
tree | 4374b7bb2a791066f6b38a2f5c58764a58f8f654 /examples/wayland/pure-qml/qml/main.qml | |
parent | 82d713d89638ebd49ed87bf5f66362a93607efd8 (diff) |
Rename primary(Output|OutputSpace) to default(Output|OutputSpace)
Change-Id: I0bbe6dd6bd8e9f6972cc88b832029ac98aa2af49
Diffstat (limited to 'examples/wayland/pure-qml/qml/main.qml')
-rw-r--r-- | examples/wayland/pure-qml/qml/main.qml | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml index 61b88574d..0fe92668a 100644 --- a/examples/wayland/pure-qml/qml/main.qml +++ b/examples/wayland/pure-qml/qml/main.qml @@ -66,7 +66,7 @@ WaylandCompositor { } onCreateShellSurface: { - var item = chromeComponent.createObject(primaryOutput.surfaceArea, { "surface": surface } ); + var item = chromeComponent.createObject(defaultOutput.surfaceArea, { "surface": surface } ); var shellSurface = shellSurfaceComponent.createObject(); shellSurface.initialize(defaultShell, surface, item.view, client, id); } @@ -77,12 +77,7 @@ WaylandCompositor { } ] - function addScreen() { - var screen = screenComponent.createObject(0, { "outputSpace" : primaryOutputSpace } ); - } - Component.onCompleted: { - addScreen(WaylandOutput.PrimaryOutput); + screenComponent.createObject(0, { "outputSpace" : defaultOutputSpace } ); } - } |