Commit 69508e49 authored by Laurent Montel's avatar Laurent Montel 😁

Add directly parent

parent 94eadb7d
......@@ -43,11 +43,10 @@ CustomToolsWidgetNg::CustomToolsWidgetNg(KActionCollection *ac, QWidget *parent)
: QWidget(parent),
d(new PimCommon::CustomToolsWidgetNgPrivate)
{
QHBoxLayout *lay = new QHBoxLayout;
QHBoxLayout *lay = new QHBoxLayout(this);
d->mStackedWidget = new QStackedWidget;
d->mStackedWidget->setObjectName(QStringLiteral("stackedwidget"));
lay->addWidget(d->mStackedWidget);
setLayout(lay);
initializeView(ac);
hide();
}
......
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