Ask to save calibration when closing the app

This commit is contained in:
Jan Käberich 2020-12-07 20:21:24 +01:00
parent 15c7492bec
commit 753dd3d261
7 changed files with 53 additions and 4 deletions

View file

@ -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());