summaryrefslogtreecommitdiffstats
path: root/examples/wayland/pure-qml/qml
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-07-02 12:17:27 +0200
committerEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>2020-07-06 08:22:39 +0200
commita60f91d1cebe41b7fdd96171fc19fa75662c6f66 (patch)
tree6b11486229e11b2dfb73369af6a620dc88dc6bed /examples/wayland/pure-qml/qml
parent057c86e6d0be1bf7a48b8b2f7f58f02f2952016f (diff)
pure-qml: Rename Screen to CompositorScreen
After Window moved into Qt Quick, the Screen attached property is now available even without import QtQuick.Window. This causes conflicts with local types called Screen. Task-number: QTBUG-85199 Change-Id: I989e66a8111c0a23996902d9678bc85f238df288 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'examples/wayland/pure-qml/qml')
-rw-r--r--examples/wayland/pure-qml/qml/CompositorScreen.qml (renamed from examples/wayland/pure-qml/qml/Screen.qml)0
-rw-r--r--examples/wayland/pure-qml/qml/main.qml2
2 files changed, 1 insertions, 1 deletions
diff --git a/examples/wayland/pure-qml/qml/Screen.qml b/examples/wayland/pure-qml/qml/CompositorScreen.qml
index b156cb434..b156cb434 100644
--- a/examples/wayland/pure-qml/qml/Screen.qml
+++ b/examples/wayland/pure-qml/qml/CompositorScreen.qml
diff --git a/examples/wayland/pure-qml/qml/main.qml b/examples/wayland/pure-qml/qml/main.qml
index 483de7514..391dbed43 100644
--- a/examples/wayland/pure-qml/qml/main.qml
+++ b/examples/wayland/pure-qml/qml/main.qml
@@ -54,7 +54,7 @@ import QtWayland.Compositor 1.3
WaylandCompositor {
id: waylandCompositor
- Screen { id: screen; compositor: waylandCompositor }
+ CompositorScreen { id: screen; compositor: waylandCompositor }
// Shell surface extension. Needed to provide a window concept for Wayland clients.
// I.e. requests and events for maximization, minimization, resizing, closing etc.