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:
parent
b4ec43e4aa
commit
991ccddb66
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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());
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user