summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2017-05-18 23:08:12 -0700
committerThiago Macieira <thiago.macieira@intel.com>2017-05-30 21:43:48 +0000
commite189a01d41b5e2c03ee3a53e5577b541c5ec85f7 (patch)
tree57299d821d044bf958aa5fc5222b67129673720f
parent0b1aee35bd6094f8c8359c0705164a9d6260dd15 (diff)
downloadqttools-e189a01d41b5e2c03ee3a53e5577b541c5ec85f7.tar.gz
Add missing break in switch
Change-Id: I9bf1e35bffb044dcbf62fffd14bfecea5bdaff2a Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
-rw-r--r--src/designer/src/components/formeditor/layout_propertysheet.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/designer/src/components/formeditor/layout_propertysheet.cpp b/src/designer/src/components/formeditor/layout_propertysheet.cpp
index 160112d9b..553a2514f 100644
--- a/src/designer/src/components/formeditor/layout_propertysheet.cpp
+++ b/src/designer/src/components/formeditor/layout_propertysheet.cpp
@@ -374,6 +374,7 @@ QVariant LayoutPropertySheet::property(int index) const
return grid->verticalSpacing();
if (const QFormLayout *form = qobject_cast<QFormLayout *>(m_layout))
return form->verticalSpacing();
+ break;
case LayoutPropertyBoxStretch:
if (const QBoxLayout *box = qobject_cast<QBoxLayout *>(m_layout))
return QVariant(QByteArray(QFormBuilderExtra::boxLayoutStretch(box).toUtf8()));