summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml/qml/main.qml
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-03 14:12:50 +0200
committerJørgen Lind <jorgen.lind@theqtcompany.com>2015-09-04 16:12:47 +0200
commitcc4fe466a1c7dfba937a0926b6f94900ce512942 (patch)
tree4374b7bb2a791066f6b38a2f5c58764a58f8f654 /examples/wayland/pure-qml/qml/main.qml
parent82d713d89638ebd49ed87bf5f66362a93607efd8 (diff)
Rename primary(Output|OutputSpace) to default(Output|OutputSpace)
Diffstat (limited to 'examples/wayland/pure-qml/qml/main.qml')
-rw-r--r--examples/wayland/pure-qml/qml/main.qml9
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 } );
}
-
}