From 8a7d1534d8bdccb99807dda9232c169a40bb061d Mon Sep 17 00:00:00 2001 From: Daniele Forsi Date: Sat, 22 Jun 2024 17:19:35 +0200 Subject: [PATCH] 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. --- sdrgui/mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/sdrgui/mainwindow.cpp b/sdrgui/mainwindow.cpp index f24355e63..ac6c12044 100644 --- a/sdrgui/mainwindow.cpp +++ b/sdrgui/mainwindow.cpp @@ -319,7 +319,6 @@ MainWindow::~MainWindow() qDebug() << "MainWindow::~MainWindow"; m_statusTimer.stop(); - m_mainCore->m_settings.save(); m_apiServer->stop(); delete m_apiServer; delete m_requestMapper;