Add missing enumeration case in tst_QMacStyle::setSize
Change-Id: Iade36b03c6f8bdaa8feb82ef89744a399f92e21d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
9b8695998b
commit
f8d1e16da0
@ -295,6 +295,8 @@ QSize tst_QMacStyle::gap(QWidget *widget1, QWidget *widget2)
|
||||
void tst_QMacStyle::setSize(QWidget *widget, QStyleHelper::WidgetSizePolicy size)
|
||||
{
|
||||
switch (size) {
|
||||
case QStyleHelper::SizeDefault:
|
||||
break;
|
||||
case QStyleHelper::SizeLarge:
|
||||
widget->setAttribute(Qt::WA_MacNormalSize, true);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user