mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-29 04:42:28 -04:00
Remove stray 'a7' flags from decodes when displaying points.
This commit is contained in:
parent
ffe8927a30
commit
be2ce2a6c4
@ -3519,12 +3519,15 @@ void MainWindow::activeWorked(QString call, QString band)
|
|||||||
|
|
||||||
void MainWindow::readFromStdout() //readFromStdout
|
void MainWindow::readFromStdout() //readFromStdout
|
||||||
{
|
{
|
||||||
|
QFile f(m_appDir + "/DisplayPoints");
|
||||||
|
bool bDisplayPoints = f.exists() or m_config.special_op_id()==SpecOp::ARRL_DIGI;
|
||||||
while(proc_jt9.canReadLine()) {
|
while(proc_jt9.canReadLine()) {
|
||||||
auto line_read = proc_jt9.readLine ();
|
auto line_read = proc_jt9.readLine ();
|
||||||
if (auto p = std::strpbrk (line_read.constData (), "\n\r")) {
|
if (auto p = std::strpbrk (line_read.constData (), "\n\r")) {
|
||||||
// truncate before line ending chars
|
// truncate before line ending chars
|
||||||
line_read = line_read.left (p - line_read.constData ());
|
line_read = line_read.left (p - line_read.constData ());
|
||||||
}
|
}
|
||||||
|
if(bDisplayPoints) line_read=line_read.replace("a7"," ");
|
||||||
bool haveFSpread {false};
|
bool haveFSpread {false};
|
||||||
float fSpread {0.};
|
float fSpread {0.};
|
||||||
if (m_mode.startsWith ("FST4"))
|
if (m_mode.startsWith ("FST4"))
|
||||||
@ -3628,8 +3631,6 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QFile f(m_appDir + "/DisplayPoints");
|
|
||||||
bool bDisplayPoints = f.exists() or m_config.special_op_id()==SpecOp::ARRL_DIGI;
|
|
||||||
//Left (Band activity) window
|
//Left (Band activity) window
|
||||||
if(!bAvgMsg) {
|
if(!bAvgMsg) {
|
||||||
if(m_mode=="FT8" and SpecOp::FOX == m_config.special_op_id()) {
|
if(m_mode=="FT8" and SpecOp::FOX == m_config.special_op_id()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user