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:
parent
056bdef045
commit
5698fcb023
@ -4359,7 +4359,7 @@ QWidget *QWidget::nativeParentWidget() const
|
|||||||
The background role defines the brush from the widget's \l palette that
|
The background role defines the brush from the widget's \l palette that
|
||||||
is used to render the background.
|
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.
|
widget's background role.
|
||||||
|
|
||||||
\sa setBackgroundRole(), foregroundRole()
|
\sa setBackgroundRole(), foregroundRole()
|
||||||
|
Loading…
Reference in New Issue
Block a user