diff options
| author | Keith Kyzivat <keith.kyzivat@qt.io> | 2023-07-10 12:26:44 -0400 |
|---|---|---|
| committer | Keith Kyzivat <keith.kyzivat@qt.io> | 2023-07-10 21:07:59 -0400 |
| commit | 5698fcb023daa18455f7f7bdace23dfee036b05f (patch) | |
| tree | 1f3032c80ed67999b881d79e9cd726b40147a024 /src/widgets/kernel/qwidget.cpp | |
| parent | 056bdef045867dad07066351787b2edb771be569 (diff) | |
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>
Diffstat (limited to 'src/widgets/kernel/qwidget.cpp')
| -rw-r--r-- | src/widgets/kernel/qwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index 076a21b55f6..b8ae2875a83 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -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() |
