Commit 979d027e authored by Laurent Montel's avatar Laurent Montel 😁

Remove duplicate margin

parent 92ed4394
......@@ -66,8 +66,8 @@ AccountConfigOrderDialog::AccountConfigOrderDialog(QWidget *parent)
{
setWindowTitle(i18n("Edit Accounts Order"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton->setDefault(true);
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
......@@ -79,6 +79,7 @@ AccountConfigOrderDialog::AccountConfigOrderDialog(QWidget *parent)
mainLayout->addWidget(buttonBox);
QVBoxLayout *vbox = new QVBoxLayout;
vbox->setMargin(0);
page->setLayout(vbox);
d->mEnableAccountOrder = new QCheckBox(i18n("Use custom order"));
......
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