Drawing: use of TaskDialog::addTaskBox

This commit is contained in:
wmayer
2024-03-26 12:01:24 +01:00
committed by wwmayer
parent 411a967f7d
commit 1f51aba1dc
4 changed files with 3 additions and 11 deletions

View File

@@ -1406,12 +1406,7 @@ TaskDlgOrthoViews::TaskDlgOrthoViews()
: TaskDialog()
{
widget = new TaskOrthoViews();
taskbox = new Gui::TaskView::TaskBox(Gui::BitmapFactory().pixmap("actions/drawing-orthoviews"),
widget->windowTitle(),
true,
nullptr);
taskbox->groupLayout()->addWidget(widget);
Content.push_back(taskbox);
addTaskBox(Gui::BitmapFactory().pixmap("actions/drawing-orthoviews"), widget, true, nullptr);
}
TaskDlgOrthoViews::~TaskDlgOrthoViews()