diff options
author | Paul Olav Tvete <paul.tvete@qt.io> | 2016-08-04 10:28:41 +0200 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@qt.io> | 2016-08-22 11:31:30 +0000 |
commit | aee2b77784118ffe29f19a4d767a541c1f344fdf (patch) | |
tree | 3d57cbe0d3ef1db6dd85929630093972608f6068 /examples/wayland/multi-output | |
parent | b7075b72200b7b087e2c34fa449737970981ccea (diff) |
Remove QWaylandView from the QML API
QWaylandQuickItem already encapsulates the view. Also rename
the confusing 'discardFrontBuffers' property to
'allowDiscardFrontBuffer'
Change-Id: Ibd74ad54bfe3d5187c2ed91ff0378b45e144e109
Reviewed-by: Giulio Camuffo <giulio.camuffo@kdab.com>
Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'examples/wayland/multi-output')
-rw-r--r-- | examples/wayland/multi-output/qml/GridScreen.qml | 2 | ||||
-rw-r--r-- | examples/wayland/multi-output/qml/ShellChrome.qml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/multi-output/qml/GridScreen.qml b/examples/wayland/multi-output/qml/GridScreen.qml index 6b1d574cd..3dab99d0a 100644 --- a/examples/wayland/multi-output/qml/GridScreen.qml +++ b/examples/wayland/multi-output/qml/GridScreen.qml @@ -73,7 +73,7 @@ WaylandOutput { height: gridView.cellHeight sizeFollowsSurface: false inputEventsEnabled: false - view.discardFrontBuffers: true + allowDiscardFrontBuffer: true MouseArea { anchors.fill: parent onClicked: item.surface.activated() diff --git a/examples/wayland/multi-output/qml/ShellChrome.qml b/examples/wayland/multi-output/qml/ShellChrome.qml index b88414b25..709e83679 100644 --- a/examples/wayland/multi-output/qml/ShellChrome.qml +++ b/examples/wayland/multi-output/qml/ShellChrome.qml @@ -45,7 +45,7 @@ ShellSurfaceItem { id: rootChrome onSurfaceDestroyed: { - view.bufferLocked = true; + bufferLocked = true; destroyAnimation.start(); } |