mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-02 21:27:52 -04:00
Code cleanup. We're not using any text highlighting in the CQ: comboBox.
This commit is contained in:
parent
ce5ecaf99d
commit
1af4e46793
@ -1961,9 +1961,6 @@ void MainWindow::on_autoButton_clicked (bool checked)
|
|||||||
&& CALLING == m_QSOProgress) {
|
&& CALLING == m_QSOProgress) {
|
||||||
m_bAutoReply = false; // ready for next
|
m_bAutoReply = false; // ready for next
|
||||||
m_bCallingCQ = true; // allows tail-enders to be picked up
|
m_bCallingCQ = true; // allows tail-enders to be picked up
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::BrightText);
|
|
||||||
} else {
|
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::Text);
|
|
||||||
}
|
}
|
||||||
if (!checked) m_bCallingCQ = false;
|
if (!checked) m_bCallingCQ = false;
|
||||||
statusUpdate ();
|
statusUpdate ();
|
||||||
@ -3526,7 +3523,6 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
m_bDoubleClicked=true;
|
m_bDoubleClicked=true;
|
||||||
m_bAutoReply = true;
|
m_bAutoReply = true;
|
||||||
processMessage (decodedtext);
|
processMessage (decodedtext);
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::Text);
|
|
||||||
}
|
}
|
||||||
if(ui->respondComboBox->currentText()=="CQ: Max Pts") {
|
if(ui->respondComboBox->currentText()=="CQ: Max Pts") {
|
||||||
QString deCall;
|
QString deCall;
|
||||||
@ -4208,13 +4204,6 @@ void MainWindow::guiUpdate()
|
|||||||
m_bCallingCQ = 6 == m_ntx
|
m_bCallingCQ = 6 == m_ntx
|
||||||
|| m_currentMessage.contains (QRegularExpression {"^(CQ|QRZ) "});
|
|| m_currentMessage.contains (QRegularExpression {"^(CQ|QRZ) "});
|
||||||
m_maxPoints=-1;
|
m_maxPoints=-1;
|
||||||
if(m_mode=="FT8" or m_mode=="FT4") {
|
|
||||||
if(m_bCallingCQ && ui->respondComboBox->isVisible() && ui->respondComboBox->currentText()!="None") {
|
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::BrightText);
|
|
||||||
} else {
|
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::Text);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (m_tune) {
|
if (m_tune) {
|
||||||
m_currentMessage = "TUNE";
|
m_currentMessage = "TUNE";
|
||||||
@ -7144,7 +7133,6 @@ void MainWindow::on_stopTxButton_clicked() //Stop Tx
|
|||||||
m_bCallingCQ = false;
|
m_bCallingCQ = false;
|
||||||
m_bAutoReply = false; // ready for next
|
m_bAutoReply = false; // ready for next
|
||||||
m_maxPoints=-1;
|
m_maxPoints=-1;
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::Text);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::rigOpen ()
|
void MainWindow::rigOpen ()
|
||||||
@ -8586,17 +8574,6 @@ void MainWindow::on_cbCQonly_toggled(bool)
|
|||||||
decodeBusy(true);
|
decodeBusy(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_respondComboBox_currentIndexChanged (int n)
|
|
||||||
{
|
|
||||||
if(n>0) {
|
|
||||||
if(m_auto && m_QSOProgress == CALLING) {
|
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::BrightText);
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
// ui->respondComboBox->setBackgroundRole(QPalette::Text);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWindow::on_cbAutoSeq_toggled(bool b)
|
void MainWindow::on_cbAutoSeq_toggled(bool b)
|
||||||
{
|
{
|
||||||
// if(!b) ui->cbFirst->setChecked(false);
|
// if(!b) ui->cbFirst->setChecked(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user