Commit 91c37dbf authored by Laurent Montel's avatar Laurent Montel 😁

Assign parent directly

parent dc4bbdd1
......@@ -51,9 +51,8 @@ GoogleSettingsDialog::GoogleSettingsDialog(GoogleAccountManager *accountManager,
KWindowSystem::setMainWindow(this, wId);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, this);
QVBoxLayout *topLayout = new QVBoxLayout(this);
QPushButton *okButton = buttonBox->button(QDialogButtonBox::Ok);
okButton->setShortcut(Qt::CTRL | Qt::Key_Return);
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