From 3417f49199aabe4e8db5294a482e87ecc0e4ac1b Mon Sep 17 00:00:00 2001 From: Paul Wicking Date: Mon, 16 Aug 2021 09:43:30 +0200 Subject: Doc: Fix QDoc comment markers Pick-to: 6.2 Change-Id: Ife862cfda6a597eb196573febc0583d9f266e6bf Reviewed-by: Eskil Abrahamsen Blomfeldt --- examples/wayland/multi-screen/main.cpp | 4 ++-- examples/wayland/multi-screen/qml/Chrome.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') diff --git a/examples/wayland/multi-screen/main.cpp b/examples/wayland/multi-screen/main.cpp index fa09e59c..5ed4b014 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 15e86539..963eadb2 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 -- cgit v1.2.1