Git commit 9506cc9f7bc67212335390abe92af0ea7c2e6128 by Montel Laurent. Committed on 30/06/2015 at 20:51. Pushed by mlaurent into branch 'master'. Fix layout M +8 -4 kaddressbook/xxport/vcard/vcardexportselectionwidget.cpp http://commits.kde.org/kdepim/9506cc9f7bc67212335390abe92af0ea7c2e6128 diff --git a/kaddressbook/xxport/vcard/vcardexportselectionwidget.cpp b/kad= dressbook/xxport/vcard/vcardexportselectionwidget.cpp index 59965bc..7f2fa0c 100644 --- a/kaddressbook/xxport/vcard/vcardexportselectionwidget.cpp +++ b/kaddressbook/xxport/vcard/vcardexportselectionwidget.cpp @@ -28,10 +28,12 @@ VCardExportSelectionWidget::VCardExportSelectionWidget(QWidget *parent) : QWidget(parent) { - QGridLayout *layout =3D new QGridLayout(this); - + QVBoxLayout *mainLayout =3D new QVBoxLayout(this); QGroupBox *gbox =3D new QGroupBox( i18nc("@title:group", "Fields to be exported"), this); + mainLayout->addWidget(gbox); + QGridLayout *layout =3D new QGridLayout; + gbox->setLayout(layout); gbox->setFlat(true); layout->addWidget(gbox, 0, 0, 1, 2); = @@ -83,7 +85,9 @@ VCardExportSelectionWidget::VCardExportSelectionWidget(QW= idget *parent) gbox =3D new QGroupBox( i18nc("@title:group", "Export options"), this); gbox->setFlat(true); - layout->addWidget(gbox, 4, 0, 1, 2); + mainLayout->addWidget(gbox); + QHBoxLayout *gbLayout =3D new QHBoxLayout; + gbox->setLayout(gbLayout); = mDisplayNameBox =3D new QCheckBox(i18nc("@option:check", "Display name= as full name"), this); mDisplayNameBox->setToolTip( @@ -93,7 +97,7 @@ VCardExportSelectionWidget::VCardExportSelectionWidget(QW= idget *parent) "Check this box if you want to export the contact's display = name " "in the vCard's full name field. This may be required to ge= t the " "name shown correctly in GMail or Android.")); - layout->addWidget(mDisplayNameBox, 5, 0, 1, 2); + gbLayout->addWidget(mDisplayNameBox); = readSettings(); }