UI: Use std::unique_ptr for ui variables

Most ui variables were using std::unique_ptr, but not all.
Went through all of the UI code to find where they were manually
deleted.
This commit is contained in:
cg2121 2022-02-17 08:33:56 -06:00 • committed by Jim
commit 7b418d5be3
11 changed files with 28 additions and 66 deletions

View file

@ -1175,8 +1175,6 @@ AutoConfigTestPage::AutoConfigTestPage(QWidget *parent)
AutoConfigTestPage::~AutoConfigTestPage()
{
delete ui;
if (testThread.joinable()) {
{
unique_lock<mutex> ul(m);