diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-11-24 13:52:53 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-12-06 08:42:54 +0000 |
commit | ac505a6b8b6e19d1d8ac8c8f0bcb4aab003b0060 (patch) | |
tree | 8232d71a0d81b8a640465f71e1db4bb2876ecc81 /examples | |
parent | e2f856d9da896c202d98b179b9482fe7e7b57222 (diff) |
Try to find compositor among parents for QWaylandQuickOutput
And simplify the minimal-qml and ivi-compositor examples
Change-Id: Ic445349c9d7845813b6700414464a688aac40e73
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/wayland/ivi-compositor/main.qml | 2 | ||||
-rw-r--r-- | examples/wayland/minimal-qml/main.qml | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/examples/wayland/ivi-compositor/main.qml b/examples/wayland/ivi-compositor/main.qml index 6535296b6..1f2420bf9 100644 --- a/examples/wayland/ivi-compositor/main.qml +++ b/examples/wayland/ivi-compositor/main.qml @@ -43,9 +43,7 @@ import QtWayland.Compositor 1.0 import QtQuick.Window 2.2 WaylandCompositor { - id: wlcompositor WaylandOutput { - compositor: wlcompositor sizeFollowsWindow: true window: Window { width: 1024 diff --git a/examples/wayland/minimal-qml/main.qml b/examples/wayland/minimal-qml/main.qml index d44d0c6a1..732e2ccad 100644 --- a/examples/wayland/minimal-qml/main.qml +++ b/examples/wayland/minimal-qml/main.qml @@ -43,10 +43,8 @@ import QtQuick.Window 2.2 import QtWayland.Compositor 1.0 WaylandCompositor { - id: wlcompositor // The output defines the screen. WaylandOutput { - compositor: wlcompositor sizeFollowsWindow: true window: Window { width: 1024 |