From 814a2c8ddf48347612a61a7f7155796f766d67d3 Mon Sep 17 00:00:00 2001 From: Sergio Martins Date: Thu, 17 Nov 2016 10:49:29 +0000 Subject: [PATCH] docs: Mention that QWidget::ensurePolished() also affects children Change-Id: I083d1c503039010024c89db59003fb6fca050c26 Reviewed-by: David Faure Reviewed-by: Martin Smith --- src/widgets/kernel/qwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/widgets/kernel/qwidget.cpp b/src/widgets/kernel/qwidget.cpp index ace50f13ee..1c79e4ea92 100644 --- a/src/widgets/kernel/qwidget.cpp +++ b/src/widgets/kernel/qwidget.cpp @@ -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