Fix valgrind issues

This commit is contained in:
Jan Käberich 2021-12-10 20:46:04 +01:00
parent 1c6a1ab6fd
commit 75f4ee245f
16 changed files with 70 additions and 8 deletions

View file

@ -126,6 +126,9 @@ void TwoThru::edit()
auto dialog = new QDialog();
ui = new Ui::TwoThruDialog();
ui->setupUi(dialog);
connect(dialog, &QDialog::finished, [=](){
delete ui;
});
ui->Z0->setUnit("Ω");
ui->Z0->setPrecision(4);
ui->Z0->setValue(Z0);