Remove unnecessary variable

This commit is contained in:
Bill Somerville 2021-03-03 14:34:42 +00:00
parent 811cdc07b9
commit 6c2cc22524
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -4982,10 +4982,9 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
} }
} else { // no grid on end of msg } else { // no grid on end of msg
auto const& word_3 = message_words.at (3); auto const& word_3 = message_words.at (3);
bool word_3_is_int; auto word_3_as_number = word_3.toInt ();
auto word_3_as_number = word_3.toInt (&word_3_is_int);
if (("RRR" == word_3 if (("RRR" == word_3
|| (word_3_is_int && word_3_as_number == 73) || word_3_as_number == 73
|| "RR73" == word_3 || "RR73" == word_3
|| ("R" == word_3 && m_QSOProgress != REPORT))) { || ("R" == word_3 && m_QSOProgress != REPORT))) {
if(m_mode=="FT4" and "RR73" == word_3) m_dateTimeRcvdRR73=QDateTime::currentDateTimeUtc(); if(m_mode=="FT4" and "RR73" == word_3) m_dateTimeRcvdRR73=QDateTime::currentDateTimeUtc();