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

Remove duplicate margin

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