Doc: Minor cleanup in QWidget docs

* Add missing . in \brief to silence warning.
* Move relevant text about behavior change since 4.7
  from the end to the start of the documentation block.

Task-number: QTBUG-85839
Pick-to: 6.2 5.15
Change-Id: Id3671413f17d06023035c15fc7d5badbde59c5a6
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
Paul Wicking 2021-07-26 14:02:03 +02:00
parent 129b0a8d34
commit 7ff72d0a0f

View File

@ -4851,7 +4851,9 @@ void QWidgetPrivate::resolveLayoutDirection()
/*!
\property QWidget::layoutDirection
\brief the layout direction for this widget
\brief the layout direction for this widget.
\note This method no longer affects text layout direction since Qt 4.7.
By default, this property is set to Qt::LeftToRight.
@ -4862,7 +4864,6 @@ void QWidgetPrivate::resolveLayoutDirection()
has been called for the parent do not inherit the parent's layout
direction.
This method no longer affects text layout direction since Qt 4.7.
\sa QApplication::layoutDirection
*/