MSK144 mode: minimum Ftol=20; report received copied to Log screen; spots sent to PSKreporter.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7140 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2016-10-02 23:16:47 +00:00
parent 69d579388b
commit 672a4e88b5
5 changed files with 44 additions and 48 deletions
+4 -2
View File
@@ -129,10 +129,12 @@ QString DecodedText::call()
}
// get the second word, most likely the de call and the third word, most likely grid
void DecodedText::deCallAndGrid(/*out*/QString& call, QString& grid)
void DecodedText::deCallAndGrid(QString jtmode,/*out*/QString& call, QString& grid)
{
auto msg = _string;
msg = msg.replace (" CQ DX ", " CQ_DX ").mid (column_qsoText);
int iadd=0;
if(jtmode=="MSK144") iadd=3;
msg = msg.replace (" CQ DX ", " CQ_DX ").mid (column_qsoText+iadd);
int i1 = msg.indexOf(" ");
call = msg.mid(i1+1);
int i2 = call.indexOf(" ");