summaryrefslogtreecommitdiff
path: root/src/compositor/extensions/qwaylandxdgshellv5.cpp
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-04-17 12:51:56 +0200
committerAapo Keskimolo <aapo.keskimolo@qt.io>2019-05-01 13:55:14 +0000
commit8b69d52db792c3910be53321df44b5c57baa694c (patch)
tree33be8894a55a6a673b69f8b29edea8556e566100 /src/compositor/extensions/qwaylandxdgshellv5.cpp
parent475910a75a5cd3332fe2f0e5740c4c3c2c0b8987 (diff)
downloadqtwayland-8b69d52db792c3910be53321df44b5c57baa694c.tar.gz
Make QtWayland.Compositor available under 1.QT_MINOR_VERSION
It was already available under 1.13, but this ensures it will stay available for future minor versions of Qt and also use the latest minor version in the examples. Fixes: QTBUG-74042 Change-Id: I4a6a4f762ed0af565af32931971a1df7f33a3ba1 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/compositor/extensions/qwaylandxdgshellv5.cpp')
-rw-r--r--src/compositor/extensions/qwaylandxdgshellv5.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/compositor/extensions/qwaylandxdgshellv5.cpp b/src/compositor/extensions/qwaylandxdgshellv5.cpp
index 9e157a8a..0628f55e 100644
--- a/src/compositor/extensions/qwaylandxdgshellv5.cpp
+++ b/src/compositor/extensions/qwaylandxdgshellv5.cpp
@@ -513,15 +513,17 @@ void QWaylandXdgPopupV5Private::xdg_popup_destroy(Resource *resource)
*
* To provide the functionality of the shell extension in a compositor, create
* an instance of the XdgShellV5 component and add it as a child of the
- * compositor: \code
- * import QtWayland.Compositor 1.0
+ * compositor:
+ *
+ * \qml \QtMinorVersion
+ * import QtWayland.Compositor 1.\1
*
* WaylandCompositor {
* XdgShellV5 {
* // ...
* }
* }
- * \endcode
+ * \endqml
*
* \deprecated
*/