Commit 6bc9d0d9 authored by Laurent Montel's avatar Laurent Montel 😁

Add parent

parent befc9bc8
......@@ -34,7 +34,7 @@ AgentConfigDialog::AgentConfigDialog(QWidget *parent) :
ui.setupUi(mainWidget);
ui.propertyView->setModel(m_model);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close | QDialogButtonBox::Apply);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Close | QDialogButtonBox::Apply, this);
QPushButton *user1Button = new QPushButton;
buttonBox->addButton(user1Button, QDialogButtonBox::ActionRole);
QPushButton *user2Button = new QPushButton;
......
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