mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-13 14:24:08 -04:00
1. Fix occasional program crash caused by receiving a message in the
form "call1 call2" (no grid, report, etc.). 2. Updated docs git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3336 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+2
-1
@@ -1383,7 +1383,8 @@ void MainWindow::readFromStdout() //readFromStdout
|
||||
bool b=stdmsg_(msg.mid(0,22).toLatin1().constData(),22);
|
||||
QStringList w=msg.split(" ",QString::SkipEmptyParts);
|
||||
if(b and w[0]==m_myCall) {
|
||||
QString tt=w[2];
|
||||
QString tt="";
|
||||
if(w.length()>=3) tt=w[2];
|
||||
bool ok;
|
||||
i1=tt.toInt(&ok);
|
||||
if(ok and i1>=-50 and i1<50) {
|
||||
|
||||
Reference in New Issue
Block a user