[Part] make pointers to the UI std::unique_ptr

Same as PR #4293, just for Part

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 all Part dialogs that don't already use a unique_ptr.
This commit is contained in:
donovaly
2021-02-05 02:13:53 +01:00
committed by wwmayer
parent ade2857ba3
commit 09fd3dbffa
14 changed files with 16 additions and 31 deletions

View File

@@ -139,7 +139,6 @@ DlgExtrusion::~DlgExtrusion()
}
// no need to delete child widgets, Qt does it all for us
delete ui;
}
void DlgExtrusion::changeEvent(QEvent *e)