summaryrefslogtreecommitdiffstats
path: root/examples/wayland/multi-screen
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-08-16 09:43:30 +0200
committerPaul Wicking <paul.wicking@qt.io>2021-08-16 10:05:42 +0200
commit3417f49199aabe4e8db5294a482e87ecc0e4ac1b (patch)
treeeb8146878ea1f14480027037dbeb1d08ce9aaff6 /examples/wayland/multi-screen
parent5df422aded1eafbbbe95fa60bd12c2c3916d3d72 (diff)
Doc: Fix QDoc comment markers
Pick-to: 6.2 Change-Id: Ife862cfda6a597eb196573febc0583d9f266e6bf Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'examples/wayland/multi-screen')
-rw-r--r--examples/wayland/multi-screen/main.cpp4
-rw-r--r--examples/wayland/multi-screen/qml/Chrome.qml4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/wayland/multi-screen/main.cpp b/examples/wayland/multi-screen/main.cpp
index fa09e59ca..5ed4b0149 100644
--- a/examples/wayland/multi-screen/main.cpp
+++ b/examples/wayland/multi-screen/main.cpp
@@ -58,9 +58,9 @@
int main(int argc, char *argv[])
{
// AA_ShareOpenGLContexts is required for compositors with multiple outputs
- // ![share context]
+ //! [share context]
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
- // ![share context]
+ //! [share context]
QGuiApplication app(argc, argv);
QQmlApplicationEngine appEngine(QUrl("qrc:///qml/main.qml"));
diff --git a/examples/wayland/multi-screen/qml/Chrome.qml b/examples/wayland/multi-screen/qml/Chrome.qml
index 15e865398..963eadb29 100644
--- a/examples/wayland/multi-screen/qml/Chrome.qml
+++ b/examples/wayland/multi-screen/qml/Chrome.qml
@@ -58,10 +58,10 @@ Item {
property alias surfaceItem: surfaceItem
property alias moveItem: surfaceItem.moveItem
- // ![position sync]
+ //! [position sync]
x: surfaceItem.moveItem.x - surfaceItem.output.geometry.x
y: surfaceItem.moveItem.y - surfaceItem.output.geometry.y
- // ![position sync]
+ //! [position sync]
ShellSurfaceItem {
id: surfaceItem