mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-08 16:03:43 +00:00
Fix valgrind issues
This commit is contained in:
parent
1c6a1ab6fd
commit
75f4ee245f
16 changed files with 70 additions and 8 deletions
|
|
@ -169,6 +169,9 @@ TraceEditDialog::TraceEditDialog(Trace &t, QWidget *parent) :
|
|||
auto d = new QDialog();
|
||||
auto ui = new Ui::NewTraceMathDialog();
|
||||
ui->setupUi(d);
|
||||
connect(d, &QDialog::finished, [=](){
|
||||
delete ui;
|
||||
});
|
||||
for(int i = 0; i < (int) TraceMath::Type::Last;i++) {
|
||||
auto info = TraceMath::getInfo(static_cast<TraceMath::Type>(i));
|
||||
ui->list->addItem(info.name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue