diff options
author | Kai Uwe Broulik <kde@privat.broulik.de> | 2021-08-02 19:43:29 +0200 |
---|---|---|
committer | Kai Uwe Broulik <kde@privat.broulik.de> | 2021-12-07 10:40:49 +0200 |
commit | 8d49793cbdaefd153b43b821bed038923015e7c3 (patch) | |
tree | 63ae8eff0d68310775cea7d914bcc4d73b5f5986 | |
parent | 3382a152211a8c01494ff2cc33034f2ab3ed73f8 (diff) | |
download | qtwayland-8d49793cbdaefd153b43b821bed038923015e7c3.tar.gz |
Docs: Fix parentheses for WaylandQuickItem subsurfaceHandler example
Change-Id: If9a610004ae66f8e829d9e602ab249ee9f527eaa
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
-rw-r--r-- | src/compositor/compositor_api/qwaylandquickitem.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compositor/compositor_api/qwaylandquickitem.cpp b/src/compositor/compositor_api/qwaylandquickitem.cpp index 095c6e3b..70e8bdd7 100644 --- a/src/compositor/compositor_api/qwaylandquickitem.cpp +++ b/src/compositor/compositor_api/qwaylandquickitem.cpp @@ -933,8 +933,9 @@ void QWaylandQuickItem::handlePlaceBelow(QWaylandSurface *referenceSurface) \code ShellSurfaceItem { subsurfaceHandler: QtObject { - function handleSubsurfaceAdded(child) { - //create custom surface item, and connect the subsurfacePositionChanged signal + function handleSubsurfaceAdded(child) { + // create custom surface item, and connect the subsurfacePositionChanged signal + } } } \endcode |