diff --git a/lib/jt9.f90 b/lib/jt9.f90 index 7ef04c59f..9cf01ee9f 100644 --- a/lib/jt9.f90 +++ b/lib/jt9.f90 @@ -298,12 +298,12 @@ program jt9 call timer('jt9 ',101) 999 continue - ! Output decoder statistics +! Output decoder statistics call fini_timer () - open (unit=12, file=trim(data_dir)//'/timer.out', status='unknown', position='append') - write(12,1100) n65a,ntry65a,n65b,ntry65b,numfano,num9 -1100 format(58('-')/' JT65_1 Tries_1 JT65_2 Tries_2 JT9 Tries'/ & - 58('-')/6i8) +! open (unit=12, file=trim(data_dir)//'/timer.out', status='unknown', position='append') +! write(12,1100) n65a,ntry65a,n65b,ntry65b,numfano,num9 +!1100 format(58('-')/' JT65_1 Tries_1 JT65_2 Tries_2 JT9 Tries'/ & +! 58('-')/6i8) ! Save wisdom and free memory iret=fftwf_export_wisdom_to_filename(wisfile) diff --git a/mainwindow.cpp b/mainwindow.cpp index 1c15c6aec..932e066bc 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -692,8 +692,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, } #endif - auto_tx_label.setText (m_config.quick_call () ? "Auto-Tx-Enable Armed" : "Auto-Tx-Enable Disarmed"); - { //delete any .quit file that might have been left lying around //since its presence will cause jt9 to exit a soon as we start it @@ -1414,8 +1412,6 @@ void MainWindow::on_actionSettings_triggered() //Setup Dialog m_msAudioOutputBuffered); } - auto_tx_label.setText (m_config.quick_call () ? "Auto-Tx-Enable Armed" : "Auto-Tx-Enable Disarmed"); - displayDialFrequency (); bool vhf {m_config.enable_VHF_features()}; m_wideGraph->setVHF(vhf); @@ -1729,10 +1725,6 @@ void MainWindow::createStatusBar() //createStatusBar last_tx_label.setFrameStyle (QFrame::Panel | QFrame::Sunken); statusBar()->addWidget (&last_tx_label); - auto_tx_label.setAlignment (Qt::AlignHCenter); - auto_tx_label.setMinimumSize (QSize {150, 18}); - auto_tx_label.setFrameStyle (QFrame::Panel | QFrame::Sunken); - band_hopping_label.setAlignment (Qt::AlignHCenter); band_hopping_label.setMinimumSize (QSize {90, 18}); band_hopping_label.setFrameStyle (QFrame::Panel | QFrame::Sunken); @@ -1772,21 +1764,15 @@ void MainWindow::setup_status_bar (bool vhf) } last_tx_label.setText (QString {}); if (m_mode.contains (QRegularExpression {R"(^(Echo|ISCAT))"})) { - if (auto_tx_label.isVisible ()) statusBar ()->removeWidget (&auto_tx_label); if (band_hopping_label.isVisible ()) statusBar ()->removeWidget (&band_hopping_label); } else if (m_mode.startsWith ("WSPR")) { mode_label.setStyleSheet ("QLabel{background-color: #ff66ff}"); - if (auto_tx_label.isVisible ()) statusBar ()->removeWidget (&auto_tx_label); if (!band_hopping_label.isVisible ()) { statusBar ()->addWidget (&band_hopping_label); band_hopping_label.show (); } } else { if (band_hopping_label.isVisible ()) statusBar ()->removeWidget (&band_hopping_label); - if (!auto_tx_label.isVisible ()) { - statusBar ()->addWidget (&auto_tx_label); - auto_tx_label.show (); - } } }