diff --git a/mainwindow.cpp b/mainwindow.cpp
index eca41b94c..014fdef16 100644
--- a/mainwindow.cpp
+++ b/mainwindow.cpp
@@ -833,7 +833,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
}
m_saveDecoded=ui->actionSave_decoded->isChecked();
m_saveAll=ui->actionSave_all->isChecked();
- ui->inGain->setValue(m_inGain);
ui->sbTxPercent->setValue(m_pctx);
ui->TxPowerComboBox->setCurrentIndex(int(0.3*(m_dBm + 30.0)+0.2));
ui->cbUploadWSPR_Spots->setChecked(m_uploadSpots);
@@ -975,7 +974,6 @@ void MainWindow::writeSettings()
m_settings->setValue("ShMsgs",m_bShMsgs);
m_settings->setValue("SWL",ui->cbSWL->isChecked());
m_settings->setValue ("DialFreq", QVariant::fromValue(m_lastMonitoredFrequency));
- m_settings->setValue("InGain",m_inGain);
m_settings->setValue("OutAttenuation", ui->outAttenuation->value ());
m_settings->setValue("NoSuffix",m_noSuffix);
m_settings->setValue("GUItab",ui->tabWidget->currentIndex());
@@ -1053,7 +1051,6 @@ void MainWindow::readSettings()
ui->TxFreqSpinBox->setValue(0); // ensure a change is signaled
ui->TxFreqSpinBox->setValue(m_settings->value("TxFreq",1500).toInt());
m_ndepth=m_settings->value("NDepth",3).toInt();
- m_inGain=m_settings->value("InGain",0).toInt();
m_pctx=m_settings->value("PctTx",20).toInt();
m_dBm=m_settings->value("dBm",37).toInt();
ui->WSPR_prefer_type_1_check_box->setChecked (m_settings->value ("WSPRPreferType1", true).toBool ());
@@ -4917,11 +4914,6 @@ void MainWindow::on_actionEnable_AP_DXcall_toggled (bool checked)
m_ndepth ^= (-checked ^ m_ndepth) & 0x00000040;
}
-void MainWindow::on_inGain_valueChanged(int n)
-{
- m_inGain=n;
-}
-
void MainWindow::on_actionErase_ALL_TXT_triggered() //Erase ALL.TXT
{
int ret = MessageBox::query_message (this, tr ("Confirm Erase"),
diff --git a/mainwindow.h b/mainwindow.h
index 50a457e12..4ef245318 100644
--- a/mainwindow.h
+++ b/mainwindow.h
@@ -184,7 +184,6 @@ private slots:
void on_actionQuickDecode_toggled (bool);
void on_actionMediumDecode_toggled (bool);
void on_actionDeepestDecode_toggled (bool);
- void on_inGain_valueChanged(int n);
void bumpFqso(int n);
void on_actionErase_ALL_TXT_triggered();
void on_actionErase_wsjtx_log_adi_triggered();
diff --git a/mainwindow.ui b/mainwindow.ui
index 2a7cdec33..9e604eeca 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -1935,28 +1935,6 @@ list. The list can be maintained in Settings (F2).
- -
-
-
- Digital gain for graph windows
-
-
- -50
-
-
- 50
-
-
- 20
-
-
- QSlider::TicksBelow
-
-
- 10
-
-
-
-
@@ -3051,7 +3029,6 @@ QPushButton[state="ok"] {
autoButton
stopTxButton
tuneButton
- inGain
dxCallEntry
dxGridEntry
lookupButton