[TD] make more pointers to the UI std::unique_ptr

addendum to PR #4293

(as noted in https://github.com/FreeCAD/FreeCAD/pull/4271#discussion_r554673632
the pointer to the UI should be a unique pointer.

This PR does this for remaining TD dialogs that don't already use a unique_ptr.)
This commit is contained in:
donovaly
2021-02-05 02:56:05 +01:00
committed by wwmayer
parent 224a9186af
commit 6f25fa6bb8
3 changed files with 2 additions and 3 deletions

View File

@@ -79,7 +79,6 @@ TaskLineDecor::TaskLineDecor(TechDraw::DrawViewPart* partFeat,
TaskLineDecor::~TaskLineDecor()
{
delete ui;
}
void TaskLineDecor::initUi()