diff options
Diffstat (limited to 'examples/wayland')
-rw-r--r-- | examples/wayland/multi-screen/main.cpp | 4 | ||||
-rw-r--r-- | examples/wayland/multi-screen/qml/Chrome.qml | 4 |
2 files changed, 4 insertions, 4 deletions
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 |