docs: Mention that QWidget::ensurePolished() also affects children

Change-Id: I083d1c503039010024c89db59003fb6fca050c26
Reviewed-by: David Faure <david.faure@kdab.com>
Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
Sergio Martins 2016-11-17 10:49:29 +00:00 committed by Giuseppe D'Angelo
parent a300330203
commit 814a2c8ddf

View File

@ -9993,8 +9993,8 @@ bool QWidget::nativeEvent(const QByteArray &eventType, void *message, long *resu
}
/*!
Ensures that the widget has been polished by QStyle (i.e., has a
proper font and palette).
Ensures that the widget and its children have been polished by
QStyle (i.e., have a proper font and palette).
QWidget calls this function after it has been fully constructed
but before it is shown the very first time. You can call this