1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Close any open dialog when sdrangel quits

This commit is contained in:
Daniele Forsi 2024-04-23 20:23:07 +02:00
parent b4ec43e4aa
commit 991ccddb66
3 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,7 @@ MapBeaconDialog::MapBeaconDialog(MapGUI *gui, QWidget* parent) :
ui(new Ui::MapBeaconDialog)
{
ui->setupUi(this);
setAttribute(Qt::WA_QuitOnClose, false);
connect(&m_dlm, &HttpDownloadManager::downloadComplete, this, &MapBeaconDialog::downloadFinished);
}

View File

@ -30,6 +30,7 @@ MapIBPBeaconDialog::MapIBPBeaconDialog(MapGUI *gui, QWidget* parent) :
ui(new Ui::MapIBPBeaconDialog)
{
ui->setupUi(this);
setAttribute(Qt::WA_QuitOnClose, false);
connect(&m_timer, &QTimer::timeout, this, &MapIBPBeaconDialog::updateTime);
m_timer.setInterval(1000);
ui->beacons->setRowCount(IBPBeacon::m_frequencies.size());

View File

@ -29,6 +29,7 @@ MapRadioTimeDialog::MapRadioTimeDialog(MapGUI *gui, QWidget* parent) :
ui(new Ui::MapRadioTimeDialog)
{
ui->setupUi(this);
setAttribute(Qt::WA_QuitOnClose, false);
// Don't call updateTable until m_gui->getAzEl() will return valid location
}