Gui: use of TaskDialog::addTaskBox

This commit is contained in:
wmayer
2024-03-26 10:19:51 +01:00
committed by wwmayer
parent bc9d845296
commit 0ed7eb5652
12 changed files with 8 additions and 31 deletions

View File

@@ -1017,10 +1017,7 @@ TaskPlacement::TaskPlacement()
this->setButtonPosition(TaskPlacement::South);
widget = new Placement();
widget->showDefaultButtons(false);
taskbox = new Gui::TaskView::TaskBox(QPixmap(), widget->windowTitle(),true, nullptr);
taskbox->groupLayout()->addWidget(widget);
Content.push_back(taskbox);
addTaskBox(widget);
connect(widget, &Placement::placementChanged, this, &TaskPlacement::slotPlacementChanged);
}