Explicitly set verticalSpacing in QFormLayouts of kcm kwindesktop

Without a set verticalSpacing in QFormLayout the code hits an assert
in Qt.
This commit is contained in:
Martin Gräßlin 2013-09-27 13:43:52 +02:00
parent 72c76ce423
commit f8e4dcc115

View file

@ -33,6 +33,9 @@
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="numberLabel">
<property name="whatsThis">
@ -150,6 +153,9 @@
<property name="fieldGrowthPolicy">
<enum>QFormLayout::ExpandingFieldsGrow</enum>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
@ -205,6 +211,9 @@
<property name="fieldGrowthPolicy">
<enum>QFormLayout::AllNonFixedFieldsGrow</enum>
</property>
<property name="verticalSpacing">
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="hideLabel">
<property name="text">