Further speed improvements for MSK144 RT decoding. Fiz what I broke in the "click-on-CQ-message" logic.

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