Commit 4697446d authored by Laurent Montel's avatar Laurent Montel 😁

Add parent to qdialogbuttonbox

parent bb7f35c7
......@@ -76,10 +76,10 @@ FeedPropertiesDialog::FeedPropertiesDialog(QWidget *parent, const QString &name)
setWindowTitle(i18n("Feed Properties"));
QVBoxLayout *mainLayout = new QVBoxLayout(this);
widget = new FeedPropertiesWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, 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