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

@@ -543,10 +543,7 @@ void ElementColors::onElementListItemDoubleClicked(QListWidgetItem *item) {
TaskElementColors::TaskElementColors(ViewProviderDocumentObject* vp, bool noHide)
{
widget = new ElementColors(vp,noHide);
taskbox = new TaskView::TaskBox(
QPixmap(), widget->windowTitle(), true, nullptr);
taskbox->groupLayout()->addWidget(widget);
Content.push_back(taskbox);
addTaskBox(widget);
}
TaskElementColors::~TaskElementColors() = default;