Doc: Correct minor link issue in qwidget.cpp

Change-Id: I3b69a18c65b75f3e0014a12284904af208ef058d
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
Nico Vertriest 2018-12-11 10:32:56 +01:00
parent 6abed98e87
commit 3615e8aaa1

View File

@ -4509,8 +4509,7 @@ void QWidget::setForegroundRole(QPalette::ColorRole role)
style, depend on third party APIs to render the content of widgets, style, depend on third party APIs to render the content of widgets,
and these styles typically do not follow the palette. Because of this, and these styles typically do not follow the palette. Because of this,
assigning roles to a widget's palette is not guaranteed to change the assigning roles to a widget's palette is not guaranteed to change the
appearance of the widget. Instead, you may choose to apply a \l appearance of the widget. Instead, you may choose to apply a \l {styleSheet}.
styleSheet.
\warning Do not use this function in conjunction with \l{Qt Style Sheets}. \warning Do not use this function in conjunction with \l{Qt Style Sheets}.
When using style sheets, the palette of a widget can be customized using When using style sheets, the palette of a widget can be customized using