diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2017-01-10 15:56:06 +0100 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2017-10-16 07:58:30 +0000 |
commit | fefb26f01fc07aeb615a1aef596cf984f105ca43 (patch) | |
tree | 703f39980a5202752428a7006e88cce8164683d0 /src/compositor | |
parent | d8a8378248636060670c048edbf9933eed445d78 (diff) | |
download | qtwayland-fefb26f01fc07aeb615a1aef596cf984f105ca43.tar.gz |
Documentation: update examples for extensions
Change-Id: If8840594b4077a464e97b4cb6db2fe8b70edf70d
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
Diffstat (limited to 'src/compositor')
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickcompositor.cpp | 4 | ||||
-rw-r--r-- | src/compositor/extensions/qwaylandwlshell.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickcompositor.cpp b/src/compositor/compositor_api/qwaylandquickcompositor.cpp index dccb8a15..35cd4922 100644 --- a/src/compositor/compositor_api/qwaylandquickcompositor.cpp +++ b/src/compositor/compositor_api/qwaylandquickcompositor.cpp @@ -90,9 +90,9 @@ QWaylandQuickCompositor::QWaylandQuickCompositor(QObject *parent) * import QtWayland.Compositor 1.0 * * WaylandCompositor { - * extensions: [ WlShell { + * WlShell { * // ... - * } ] + * } * } * \endcode */ diff --git a/src/compositor/extensions/qwaylandwlshell.cpp b/src/compositor/extensions/qwaylandwlshell.cpp index 038e41b1..0b4ab332 100644 --- a/src/compositor/extensions/qwaylandwlshell.cpp +++ b/src/compositor/extensions/qwaylandwlshell.cpp @@ -277,7 +277,7 @@ void QWaylandWlShellSurfacePrivate::shell_surface_set_class(Resource *resource, * import QtWayland.Compositor 1.0 * * WaylandCompositor { - * extensions: WlShell { + * WlShell { * // ... * } * } |