1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-11 02:46:12 -05:00

Do not save the settings twice

Settings are saved in MainWindow::closeEvent() which is called when Sdrangel
is exited by closing its main window, or when using the File/Exit menu (or
Ctrl+Q) or when pressing Alt+F4.
This commit is contained in:
Daniele Forsi 2024-06-22 17:19:35 +02:00
parent 5070112c18
commit 8a7d1534d8

View File

@ -319,7 +319,6 @@ MainWindow::~MainWindow()
qDebug() << "MainWindow::~MainWindow"; qDebug() << "MainWindow::~MainWindow";
m_statusTimer.stop(); m_statusTimer.stop();
m_mainCore->m_settings.save();
m_apiServer->stop(); m_apiServer->stop();
delete m_apiServer; delete m_apiServer;
delete m_requestMapper; delete m_requestMapper;