QWidget: Fix typo in Mac size propagation
This amends commit f8b6d104b981ef420756c0c20f62b8013d93ae15. Change-Id: I77a48e68ec7db791b843fe4dfeddc4c6fedf6380 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
parent
c7dac6469c
commit
6d644c7a77
@ -11148,7 +11148,7 @@ void QWidgetPrivate::macUpdateSizeAttribute()
|
||||
for (int i = 0; i < children.size(); ++i) {
|
||||
QWidget *w = qobject_cast<QWidget *>(children.at(i));
|
||||
if (w && (!w->isWindow() || w->testAttribute(Qt::WA_WindowPropagation))
|
||||
&& !q->testAttribute(Qt::WA_MacMiniSize) // no attribute set? inherit from parent
|
||||
&& !w->testAttribute(Qt::WA_MacMiniSize) // no attribute set? inherit from parent
|
||||
&& !w->testAttribute(Qt::WA_MacSmallSize)
|
||||
&& !w->testAttribute(Qt::WA_MacNormalSize))
|
||||
w->d_func()->macUpdateSizeAttribute();
|
||||
|
Loading…
x
Reference in New Issue
Block a user