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:
Joe Taylor
2013-06-05 18:42:55 +00:00
parent 1f86d76eca
commit 0ab75f203b
4 changed files with 28 additions and 7 deletions
+2 -1
View File
@@ -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) {