Commit 7727d6bf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add parent

parent 177598b6
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
RSDialog::RSDialog(QWidget* parent) : QDialog(parent) RSDialog::RSDialog(QWidget* parent) : QDialog(parent)
{ {
setWindowTitle(i18nc("@title:window", "Risks/Security Phrases")); setWindowTitle(i18nc("@title:window", "Risks/Security Phrases"));
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Help|QDialogButtonBox::Close); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Help|QDialogButtonBox::Close, this);
QWidget *mainWidget = new QWidget(this); QWidget *mainWidget = new QWidget(this);
QVBoxLayout *mainLayout = new QVBoxLayout; QVBoxLayout *mainLayout = new QVBoxLayout;
setLayout(mainLayout); setLayout(mainLayout);
......
Supports Markdown
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