summaryrefslogtreecommitdiff
path: root/map65/devsetup.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2022-08-08 23:08:31 +0200
committerChristoph Berg <myon@debian.org>2022-08-08 23:08:31 +0200
commitdca111ba9c5235bb1a16d62c6999939bc1ac4cbe (patch)
tree4eec80a7d177c16b0cbfe19219490c5b5c635367 /map65/devsetup.cpp
parent231d846d6f285b93cf8fa3df50492d6b51446a4c (diff)
parent43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef (diff)
Update upstream source from tag 'upstream/2.6.0_rc2+repack'
Update to upstream version '2.6.0~rc2+repack' with Debian dir 381b71368ce7055e3f42f51abf3971cbbbbbd178
Diffstat (limited to 'map65/devsetup.cpp')
-rwxr-xr-xmap65/devsetup.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/map65/devsetup.cpp b/map65/devsetup.cpp
index 01f373e6..fe9d14a9 100755
--- a/map65/devsetup.cpp
+++ b/map65/devsetup.cpp
@@ -106,8 +106,8 @@ void DevSetup::initDlg()
ui.comboBoxSndOut->setCurrentIndex(m_nDevOut);
ui.sbPort->setValue(m_udpPort);
ui.cbIQswap->setChecked(m_IQswap);
- ui.cb10db->setChecked(m_10db);
ui.cbInitIQplus->setChecked(m_initIQplus);
+ ui.sb_dB->setValue(m_dB);
ui.mult570SpinBox->setValue(m_mult570);
ui.mult570TxSpinBox->setValue(m_mult570Tx);
ui.cal570SpinBox->setValue(m_cal570);
@@ -176,8 +176,8 @@ void DevSetup::accept()
m_paOutDevice=m_outDevList[m_nDevOut];
m_udpPort=ui.sbPort->value();
m_IQswap=ui.cbIQswap->isChecked();
- m_10db=ui.cb10db->isChecked();
m_initIQplus=ui.cbInitIQplus->isChecked();
+ m_dB=ui.sb_dB->value();
m_mult570=ui.mult570SpinBox->value();
m_mult570Tx=ui.mult570TxSpinBox->value();
m_cal570=ui.cal570SpinBox->value();
@@ -195,7 +195,7 @@ void DevSetup::on_soundCardRadioButton_toggled(bool checked)
ui.label_Port->setEnabled(!checked);
ui.sbPort->setEnabled(!checked);
ui.cbIQswap->setEnabled(checked);
- ui.cb10db->setEnabled(checked);
+ ui.sb_dB->setEnabled(checked);
}
void DevSetup::on_cbXpol_stateChanged(int n)
@@ -217,6 +217,11 @@ void DevSetup::on_mult570SpinBox_valueChanged(int mult)
m_mult570=mult;
}
+void DevSetup::on_sb_dB_valueChanged(int n)
+{
+ m_dB=n;
+}
+
void DevSetup::updateColorLabels()
{
QString t;