From 43bebfbad6e7ba026bd3d55720c7d9e12a7ef8ef Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Mon, 8 Aug 2022 23:08:17 +0200 Subject: New upstream version 2.6.0~rc2+repack --- map65/devsetup.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'map65/devsetup.cpp') 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; -- cgit v1.2.3