mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-15 16:42:12 -05:00
Fix a lonstanding bug that causes crash when logging incomplete EU VHF Contest data.
This commit is contained in:
parent
428bb96ce8
commit
47f47a313f
@ -3703,7 +3703,6 @@ void MainWindow::guiUpdate()
|
|||||||
QByteArray ba;
|
QByteArray ba;
|
||||||
QByteArray ba0;
|
QByteArray ba0;
|
||||||
|
|
||||||
qDebug() << "aa";
|
|
||||||
if(m_mode.startsWith ("WSPR")) {
|
if(m_mode.startsWith ("WSPR")) {
|
||||||
QString sdBm,msg0,msg1,msg2;
|
QString sdBm,msg0,msg1,msg2;
|
||||||
sdBm.sprintf(" %d",m_dBm);
|
sdBm.sprintf(" %d",m_dBm);
|
||||||
@ -3945,7 +3944,6 @@ void MainWindow::guiUpdate()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
qDebug() << "bb";
|
|
||||||
m_restart=false;
|
m_restart=false;
|
||||||
//----------------------------------------------------------------------
|
//----------------------------------------------------------------------
|
||||||
} else {
|
} else {
|
||||||
@ -5583,7 +5581,7 @@ void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
|||||||
case SpecOp::EU_VHF:
|
case SpecOp::EU_VHF:
|
||||||
m_rptSent=m_xSent.split(" ").at(0).left(2);
|
m_rptSent=m_xSent.split(" ").at(0).left(2);
|
||||||
m_rptRcvd=m_xRcvd.split(" ").at(0).left(2);
|
m_rptRcvd=m_xRcvd.split(" ").at(0).left(2);
|
||||||
m_hisGrid=m_xRcvd.split(" ").at(1);
|
if(m_xRcvd.split(" ").size()>=2) m_hisGrid=m_xRcvd.split(" ").at(1);
|
||||||
grid=m_hisGrid;
|
grid=m_hisGrid;
|
||||||
ui->dxGridEntry->setText(grid);
|
ui->dxGridEntry->setText(grid);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user