Add missing enumeration case in tst_QMacStyle::setSize

Change-Id: Iade36b03c6f8bdaa8feb82ef89744a399f92e21d
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tor Arne Vestbø 2020-07-26 20:24:43 +02:00
parent 9b8695998b
commit f8d1e16da0

View File

@ -295,6 +295,8 @@ QSize tst_QMacStyle::gap(QWidget *widget1, QWidget *widget2)
void tst_QMacStyle::setSize(QWidget *widget, QStyleHelper::WidgetSizePolicy size) void tst_QMacStyle::setSize(QWidget *widget, QStyleHelper::WidgetSizePolicy size)
{ {
switch (size) { switch (size) {
case QStyleHelper::SizeDefault:
break;
case QStyleHelper::SizeLarge: case QStyleHelper::SizeLarge:
widget->setAttribute(Qt::WA_MacNormalSize, true); widget->setAttribute(Qt::WA_MacNormalSize, true);
break; break;