[docs] Fix issues in QRect/QMargin API docs

- Fix grammar in op-(QRect, QMargin)
- Correct shunk for grown in op-(QRectF, QMarginsF)

Change-Id: Ia0dbd933cc9f6ed5e0dad05a27794c1135c794ed
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
This commit is contained in:
Marc Mutz 2019-07-01 10:30:14 +02:00
parent 833519f2de
commit fb35359226

View File

@ -1194,7 +1194,7 @@ bool QRect::intersects(const QRect &r) const Q_DECL_NOTHROW
\fn QRect operator-(const QRect &lhs, const QMargins &rhs) \fn QRect operator-(const QRect &lhs, const QMargins &rhs)
\relates QRect \relates QRect
Returns the \a lhs rectangle shrunken by the \a rhs margins. Returns the \a lhs rectangle shrunk by the \a rhs margins.
\since 5.3 \since 5.3
*/ */
@ -2417,7 +2417,7 @@ QRect QRectF::toAlignedRect() const Q_DECL_NOTHROW
\relates QRectF \relates QRectF
\since 5.3 \since 5.3
Returns the \a lhs rectangle grown by the \a rhs margins. Returns the \a lhs rectangle shrunk by the \a rhs margins.
*/ */
/*! /*!