From caaf460cdf2cee343146155111678ad49c03b7e0 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 13 May 2015 10:15:26 +0200 Subject: [PATCH] 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: Daniel Teske --- src/plugins/coreplugin/manhattanstyle.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/coreplugin/manhattanstyle.cpp b/src/plugins/coreplugin/manhattanstyle.cpp index 0ab313771b3..87d108f5a66 100644 --- a/src/plugins/coreplugin/manhattanstyle.cpp +++ b/src/plugins/coreplugin/manhattanstyle.cpp @@ -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; }