From 05a1b3bae833aed28dc97fc6f30bb578c6b1e14e Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 21 Jul 2020 14:18:55 -0400 Subject: [PATCH] Remove "Also FST240W" from the Decode menu and elswhere in the GUI. --- widgets/mainwindow.cpp | 8 -------- widgets/mainwindow.h | 1 - widgets/mainwindow.ui | 3 +-- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 600d75217..0d36b9a99 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -951,7 +951,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple, ui->actionInclude_averaging->setChecked(m_ndepth&16); ui->actionInclude_correlation->setChecked(m_ndepth&32); ui->actionEnable_AP_DXcall->setChecked(m_ndepth&64); - ui->actionAlso_FST240W->setChecked(m_ndepth&128); m_UTCdisk=-1; m_fCPUmskrtd=0.0; @@ -2933,7 +2932,6 @@ void MainWindow::decode() //decode() if (!ui->actionInclude_averaging->isVisible ()) depth &= ~16; if (!ui->actionInclude_correlation->isVisible ()) depth &= ~32; if (!ui->actionEnable_AP_DXcall->isVisible ()) depth &= ~64; - if (!ui->actionAlso_FST240W->isVisible ()) depth &= ~128; dec_data.params.ndepth=depth; dec_data.params.n2pass=1; if(m_config.twoPass()) dec_data.params.n2pass=2; @@ -6493,7 +6491,6 @@ void MainWindow::switch_mode (Mode mode) ui->label_6->setVisible(false); ui->label_7->setVisible(false); } - ui->actionAlso_FST240W->setVisible(m_mode=="FST240"); } void MainWindow::WSPR_config(bool b) @@ -6592,11 +6589,6 @@ void MainWindow::on_actionEnable_AP_DXcall_toggled (bool checked) m_ndepth ^= (-checked ^ m_ndepth) & 0x00000040; } -void MainWindow::on_actionAlso_FST240W_toggled (bool checked) -{ - m_ndepth ^= (-checked ^ m_ndepth) & 0x00000080; -} - void MainWindow::on_actionErase_ALL_TXT_triggered() //Erase ALL.TXT { int ret = MessageBox::query_message (this, tr ("Confirm Erase"), diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 8170de842..687020a9c 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -263,7 +263,6 @@ private slots: void on_fox_log_action_triggered (); void on_actionColors_triggered(); void on_actionInclude_averaging_toggled (bool); - void on_actionAlso_FST240W_toggled (bool); void on_actionInclude_correlation_toggled (bool); void on_actionEnable_AP_DXcall_toggled (bool); void VHF_features_enabled(bool b); diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index d43aa62f7..823ece909 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -2931,7 +2931,7 @@ Yellow when too low 0 0 805 - 21 + 22 @@ -2982,7 +2982,6 @@ Yellow when too low -