mirror of
https://github.com/jankae/LibreVNA.git
synced 2026-04-06 06:53:37 +00:00
Ask to save calibration when closing the app
This commit is contained in:
parent
15c7492bec
commit
753dd3d261
7 changed files with 53 additions and 4 deletions
|
|
@ -184,6 +184,9 @@ AppWindow::~AppWindow()
|
|||
|
||||
void AppWindow::closeEvent(QCloseEvent *event)
|
||||
{
|
||||
vna->shutdown();
|
||||
generator->shutdown();
|
||||
spectrumAnalyzer->shutdown();
|
||||
delete device;
|
||||
QSettings settings;
|
||||
settings.setValue("geometry", saveGeometry());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue