Don't switch automatically to EU VHF Contest mode.

This commit is contained in:
Joe Taylor 2020-04-23 16:15:19 -04:00
parent 7b444b855b
commit d657da5980
2 changed files with 2 additions and 18 deletions

View File

@ -177,15 +177,6 @@ unsigned DecodedText::timeInSeconds() const
+ (padding_ ? string_.mid (column_time + 2 + padding_, 2).toUInt () : 0U);
}
/*
2343 -11 0.8 1259 # YV6BFE F6GUU R-08
2343 -19 0.3 718 # VE6WQ SQ2NIJ -14
2343 -7 0.3 815 # KK4DSD W7VP -16
2343 -13 0.1 3627 @ CT1FBK IK5YZT R+02
0605 Tx 1259 # CQ VK3ACF QF22
*/
QString DecodedText::report() const // returns a string of the SNR field with a leading + or - followed by two digits
{
int sr = snr();

View File

@ -4589,15 +4589,9 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
}
bool bEU_VHF_w2=(nrpt>=520001 and nrpt<=594000);
if(bEU_VHF_w2 and SpecOp::EU_VHF!=m_config.special_op_id()) {
// Switch automatically to EU VHF Contest mode
m_config.setEU_VHF_Contest();
// m_nContest=EU_VHF;
if(m_transmitting) m_restart=true;
ui->decodedTextBrowser2->displayQSY (QString{"Enabled EU VHF Contest messages."});
QString t0="EU VHF";
ui->labDXped->setVisible(true);
ui->labDXped->setText(t0);
MessageBox::information_message (this, tr ("Should you switch to EU VHF Contest mode?"));
}
QStringList t=message.string().split(' ', QString::SkipEmptyParts);
int n=t.size();
QString t0=t.at(n-2);
@ -4609,7 +4603,6 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
m_xRcvd=t.at(n-2) + " " + t.at(n-1);
t0=t.at(n-3);
}
if(bFieldDay_msg and SpecOp::FIELD_DAY!=m_config.special_op_id()) {
// ### Should be in ARRL Field Day mode ??? ###
MessageBox::information_message (this, tr ("Should you switch to ARRL Field Day mode?"));