Commit 93a4547f authored by Laurent Montel's avatar Laurent Montel 😁

Assign parent directly

parent fb824a8a
......@@ -46,8 +46,7 @@ ContactConfigureDialog::ContactConfigureDialog(QWidget *parent)
QTabWidget *tab = new QTabWidget;
QWidget *w = new QWidget;
QVBoxLayout *lay = new QVBoxLayout;
w->setLayout(lay);
QVBoxLayout *lay = new QVBoxLayout(w);
mConfigureWidget = new GrantleeThemeEditor::ConfigureWidget;
lay->addWidget(mConfigureWidget);
......
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