Initialize member variable in correct place

This commit is contained in:
Bill Somerville 2020-12-18 19:59:25 +00:00
parent 04b11fda14
commit e7c8eba2a5
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -348,6 +348,7 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
m_first_error {true},
tx_status_label {tr ("Receiving")},
wsprNet {new WSPRNet {&m_network_manager, this}},
m_baseCall {Radio::base_callsign (m_config.my_callsign ())},
m_appDir {QApplication::applicationDirPath ()},
m_cqStr {""},
m_palette {"Linrad"},
@ -444,8 +445,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
ui->decodedTextBrowser->set_configuration (&m_config, true);
ui->decodedTextBrowser2->set_configuration (&m_config);
m_baseCall = Radio::base_callsign (m_config.my_callsign ());
m_optimizingProgress.setWindowModality (Qt::WindowModal);
m_optimizingProgress.setAutoReset (false);
m_optimizingProgress.setMinimumDuration (15000); // only show after 15s delay