summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <[email protected]>2025-06-19 17:25:32 +0200
committerVolker Hilsheimer <[email protected]>2025-06-23 14:31:03 +0200
commit0745bbb61727b6abb4367ae4a9de23fdd3dfff6e (patch)
tree529b2961eb35e316cb2de48a4c36868c769421e7
parent22cec87ff4e76762bc9e6b19b08c8b3ba121f509 (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. Pick-to: 6.10 Change-Id: I3eda0f195d14bff68b6dd08ae9dfeb82f75c56e2 Reviewed-by: Thorbjørn Lund Martsum <[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)
{