From 8d49793cbdaefd153b43b821bed038923015e7c3 Mon Sep 17 00:00:00 2001 From: Kai Uwe Broulik Date: Mon, 2 Aug 2021 19:43:29 +0200 Subject: Docs: Fix parentheses for WaylandQuickItem subsurfaceHandler example Change-Id: If9a610004ae66f8e829d9e602ab249ee9f527eaa Reviewed-by: Eskil Abrahamsen Blomfeldt --- src/compositor/compositor_api/qwaylandquickitem.cpp | 5 +++-- 1 file 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 -- cgit v1.2.1