summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <[email protected]>2025-06-19 17:25:32 +0200
committerQt Cherry-pick Bot <[email protected]>2025-06-23 15:13:34 +0000
commit27c3e9026761d4da45abdecd0e32ef20b7204033 (patch)
treef3533c78411678e120ab27d4ea05b166e0bb6c72
parent73ab76f3bf3f4b13b57ff537e470601e3a2fb375 (diff)
QLayout: fix documentation of setSizeConstraints
\brief is for properties and setSizeConstraints is not the setter of the sizeConstraint property, it's just a convenience wrapper. Also, clean up the documentation style, we don't prefix each line of documentation with '*'. Amends 5b33c4e84ce23f1d7720306f4f01e771ac8be2e3. Change-Id: I3eda0f195d14bff68b6dd08ae9dfeb82f75c56e2 Reviewed-by: Thorbjørn Lund Martsum <[email protected]> (cherry picked from commit 0745bbb61727b6abb4367ae4a9de23fdd3dfff6e) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
-rw-r--r--src/widgets/kernel/qlayout.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/kernel/qlayout.cpp b/src/widgets/kernel/qlayout.cpp
index c8b87540bfc..0c86fa6003b 100644
--- a/src/widgets/kernel/qlayout.cpp
+++ b/src/widgets/kernel/qlayout.cpp
@@ -1308,11 +1308,11 @@ void QLayout::setSizeConstraint(SizeConstraint constraint)
}
/*!
- * \brief the resize mode of the layout.
- * \since 6.10
- * Sets both the \a horizontal and \a vertical size constraint.
- * Provided for convenience.
- * \sa sizeConstraint(), horizontalSizeConstraint(), verticalSizeConstraint()
+ \since 6.10
+
+ Sets both the \a horizontal and \a vertical size constraints.
+
+ \sa sizeConstraint(), horizontalSizeConstraint(), verticalSizeConstraint()
*/
void QLayout::setSizeConstraints(SizeConstraint horizontal, SizeConstraint vertical)
{