From ff8ff591870c42d75a8b8b52bfc27aaf35895ce2 Mon Sep 17 00:00:00 2001 From: Pier Luigi Fiorini Date: Fri, 30 Sep 2016 08:12:33 +0200 Subject: 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 --- examples/wayland/multi-output/qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/wayland/multi-output/qml') diff --git a/examples/wayland/multi-output/qml/main.qml b/examples/wayland/multi-output/qml/main.qml index e8a30100d..3f4d7a393 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++) { -- cgit v1.2.3