summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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