Correct the Tx message length and adjust reported SNR for short JTMSK messages.

Commit some things omitted last time.   


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6420 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2016-01-22 17:06:57 +00:00
parent 5b54b41174
commit b228025156
5 changed files with 15 additions and 9 deletions
+2 -3
View File
@@ -52,10 +52,9 @@ void DisplayText::insertLineSpacer(QString const& line)
void DisplayText::appendText(QString const& text, QString const& bg)
{
QString t=text.trimmed().replace('<','(');
t=t.replace('>',')');
QString escaped {text.trimmed().replace('<',"&lt;").replace('>',"&gt;").replace(' ', "&nbsp;")};
QString s = "<table border=0 cellspacing=0 width=100%><tr><td bgcolor=\"" +
bg + "\">" + t.trimmed ().replace (' ', "&nbsp;") + "</td></tr></table>";
bg + "\">" + escaped + "</td></tr></table>";
auto cursor = textCursor ();
cursor.movePosition (QTextCursor::End);
auto pos = cursor.position ();