Commit 18dffc8a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add parent

parent 36df339c
......@@ -27,7 +27,7 @@ SieveEditorScriptManagerWidget::SieveEditorScriptManagerWidget(QWidget *parent)
: QWidget(parent)
{
auto *hbox = new QHBoxLayout(this);
mTreeView = new SieveEditorManageSieveWidget;
mTreeView = new SieveEditorManageSieveWidget(this);
connect(mTreeView, &SieveEditorManageSieveWidget::newScript, this, &SieveEditorScriptManagerWidget::slotNewScript);
connect(mTreeView, &SieveEditorManageSieveWidget::editScript, this, &SieveEditorScriptManagerWidget::slotEditScript);
connect(mTreeView, &SieveEditorManageSieveWidget::updateButtons, this, &SieveEditorScriptManagerWidget::slotUpdateButtons);
......
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