Commit caaf460c authored by Eike Ziller's avatar Eike Ziller
Browse files

Fix that activation mode default was accidentally changed to single click



Sort of introduced by recent form layout fix for OS X.
Add the missing break statements.

Change-Id: I0862c34f31e4afc7d1834fa436c6193345205b9b
Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
parent 32d63165
......@@ -368,11 +368,13 @@ int ManhattanStyle::styleHint(StyleHint hint, const QStyleOption *option, const
if (activationMode.isValid())
ret = activationMode.toBool();
}
break;
case QStyle::SH_FormLayoutFieldGrowthPolicy:
// The default in QMacStyle, FieldsStayAtSizeHint, is just always the wrong thing
// Use the same as on all other shipped styles
if (Utils::HostOsInfo::isMacHost())
ret = QFormLayout::AllNonFixedFieldsGrow;
break;
default:
break;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment