mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-09 00:13:41 +00:00
Fix warning and valgrind issues
This commit is contained in:
parent
1a779531ea
commit
d08388f903
12 changed files with 53 additions and 18 deletions
|
|
@ -267,7 +267,7 @@ void ImpedanceMatchDialog::calculateMatch()
|
|||
ui->Image->setPixmap(QPixmap(":/icons/pCsC_small.png"));
|
||||
}
|
||||
}
|
||||
} catch (exception e){
|
||||
} catch (exception &e){
|
||||
// something went wrong, probably caused by (intermediate) invalid input, such as f=0Hz
|
||||
ui->lValue->setValue(nan(""));
|
||||
ui->cValue->setValue(nan(""));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue