summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorPier Luigi Fiorini <pierluigi.fiorini@gmail.com>2016-09-30 08:12:33 +0200
committerPier Luigi Fiorini <pierluigi.fiorini@hawaiios.org>2016-09-30 10:33:18 +0000
commitff8ff591870c42d75a8b8b52bfc27aaf35895ce2 (patch)
tree05c17ac96d112b892ee0ff978f1e3c68ae2f7996 /examples
parent9e585fc849c80b04c02c671d908fb5ade6c441b0 (diff)
downloadqtwayland-ff8ff591870c42d75a8b8b52bfc27aaf35895ce2.tar.gz
Follow surface isMapped property rename
With b7075b72200b7b087e2c34fa449737970981ccea the QWaylandSurface::isMapped property was renamed to hasContent but this example wasn't updated. Change-Id: I9b13fa3a17ffcc3d6d8be19b59552f61b25bb64b Reviewed-by: Johan Helsing <johan.helsing@qt.io>
Diffstat (limited to 'examples')
-rw-r--r--examples/wayland/multi-output/qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/wayland/multi-output/qml/main.qml b/examples/wayland/multi-output/qml/main.qml
index e8a30100..3f4d7a39 100644
--- a/examples/wayland/multi-output/qml/main.qml
+++ b/examples/wayland/multi-output/qml/main.qml
@@ -66,8 +66,8 @@ WaylandCompositor {
WaylandSurface {
id: surface
signal activated()
- onMappedChanged: {
- if (isMapped && !cursorSurface) {
+ onHasContentChanged: {
+ if (hasContent && !cursorSurface) {
gridScreen.gridSurfaces.append( { "gridSurface" : surface } );
} else {
for (var i = 0; i < gridScreen.gridSurfaces.count; i++) {