Remove \r and \n from process stdout so Windows looks like everthing else

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8001 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville 2017-08-04 22:00:35 +00:00
parent 1f41aee6bf
commit b801da053a

View File

@ -2718,7 +2718,7 @@ void MainWindow::readFromStdout() //readFromStdout
}
DecodedText decodedtext;
decodedtext = t.replace(QChar::LineFeed,""); //t.replace(QChar::LineFeed,"").mid(0,t.length()-4);
decodedtext = QString::fromUtf8 (t.constData ()).remove (QRegularExpression {"\r|\n"});
//Left (Band activity) window
if(!bAvgMsg) {