Narrower decodes display and move AP info into extra appended info

This commit is contained in:
Bill Somerville 2020-07-22 01:05:14 +01:00
parent 52643b01e2
commit ffd2ad4dc0
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -434,7 +434,13 @@ void DisplayText::displayDecodedText(DecodedText const& decodedText, QString con
QString extra;
if (haveFSpread)
{
extra = QString {"%1"}.arg (fSpread, 5, 'f', fSpread < 0.95 ? 3 : 2) + QChar {' '};
extra += QString {"%1"}.arg (fSpread, 5, 'f', fSpread < 0.95 ? 3 : 2) + QChar {' '};
}
auto ap_pos = message.lastIndexOf (QRegularExpression {R"((?:\?\s)?a[0-9]$)"});
if (ap_pos >= 0)
{
extra += message.mid (ap_pos) + QChar {' '};
message = message.left (ap_pos).trimmed ();
}
m_CQPriority="";
if (CQcall)