Correct typo in QWidget::backgroundRole()

Correct the typo inherts to inherits in QWidget::backgroundRole() docs,
as it is incorrect english.

Fixes: QTBUG-115160
Change-Id: I03892753d6ec7d81c1f818fd9caa279ca11cc3ec
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Keith Kyzivat 2023-07-10 12:26:44 -04:00
parent 056bdef045
commit 5698fcb023

View File

@ -4359,7 +4359,7 @@ QWidget *QWidget::nativeParentWidget() const
The background role defines the brush from the widget's \l palette that
is used to render the background.
If no explicit background role is set, the widget inherts its parent
If no explicit background role is set, the widget inherits its parent
widget's background role.
\sa setBackgroundRole(), foregroundRole()