Commit 2706b9e9 authored by Laurent Montel's avatar Laurent Montel 😁

Remove duplicate margin

parent 272bbeef
......@@ -50,12 +50,11 @@ ArchiveMailDialog::ArchiveMailDialog(QWidget *parent)
setWindowTitle(i18n("Configure Archive Mail Agent"));
setWindowIcon(QIcon::fromTheme(QStringLiteral("kmail")));
setModal(true);
QWidget *mainWidget = new QWidget(this);
QVBoxLayout *vlay = new QVBoxLayout;
vlay->addWidget(mainWidget);
setLayout(vlay);
QVBoxLayout *vlay = new QVBoxLayout(this);
QHBoxLayout *mainLayout = new QHBoxLayout(mainWidget);
QHBoxLayout *mainLayout = new QHBoxLayout;
mainLayout->setMargin(0);
vlay->addLayout(mainLayout);
mWidget = new ArchiveMailWidget(this);
connect(mWidget, &ArchiveMailWidget::archiveNow, this, &ArchiveMailDialog::archiveNow);
mWidget->setObjectName(QStringLiteral("archivemailwidget"));
......
......@@ -11,6 +11,18 @@
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item row="0" column="1">
<layout class="QVBoxLayout" name="verticalLayout">
<item>
......
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