aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols/doc/snippets
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@qt.io>2024-08-20 12:26:45 +0200
committerRichard Moe Gustavsen <richard.gustavsen@qt.io>2024-08-23 15:44:59 +0200
commit3968ef8650da91c8e66d1651f7891793ac3b5d74 (patch)
tree33c8addb87d0857102cf7442b46cdef54238f3bc /src/quickcontrols/doc/snippets
parent5e4a064a395a3dea616af8ace355c6631be1dc53 (diff)
doc, QQuickHeaderView: ensure example snippet works
As it stood, the qdoc marker in the example code left the final curly brace out of the snippet. A copy paste of this example would therefore not compile. This patch will make sure the brace is a part of the snippet shown in the docs. Task-number: QTBUG-123595 Pick-to: 6.8 6.7 6.5 6.2 Change-Id: I68bfac0cfc3dcecd487bfb69de07c317f787552e Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Diffstat (limited to 'src/quickcontrols/doc/snippets')
-rw-r--r--src/quickcontrols/doc/snippets/qtquickcontrols-headerview.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quickcontrols/doc/snippets/qtquickcontrols-headerview.qml b/src/quickcontrols/doc/snippets/qtquickcontrols-headerview.qml
index 9866e41e97..1ede3fce69 100644
--- a/src/quickcontrols/doc/snippets/qtquickcontrols-headerview.qml
+++ b/src/quickcontrols/doc/snippets/qtquickcontrols-headerview.qml
@@ -75,5 +75,5 @@ ApplicationWindow {
}
}
}
-//![0]
}
+//![0]