summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2021-08-16 09:43:30 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-08-16 09:58:33 +0000
commit6a21848614eed8a555209bb8cc46440a38520163 (patch)
treeef68aeb33b0a8ee4a066ba58f6349b4fef8d9c54
parent6e80311ca9499e6bb4a20fefc011e9cb31dd1e9d (diff)
Doc: Fix QDoc comment markers
Change-Id: Ife862cfda6a597eb196573febc0583d9f266e6bf Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 3417f49199aabe4e8db5294a482e87ecc0e4ac1b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-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