From 5addf8f61f2431954d5cee0bb7714318b1e71636 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Mon, 5 Nov 2018 16:51:24 -0500 Subject: [PATCH] Fixed bug with space collapsing in displayTextForFreq --- mainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mainwindow.cpp b/mainwindow.cpp index d1a5336..1f453f1 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1503,6 +1503,7 @@ void MainWindow::initializeDummyData(){ displayTextForFreq("KN4CRD: @ALLCALL? \u2301 ", 42, DriftingDateTime::currentDateTimeUtc().addSecs(-315), true, true, true); displayTextForFreq("J1Y: KN4CRD SNR -05 \u2301 ", 42, DriftingDateTime::currentDateTimeUtc().addSecs(-300), false, true, true); + displayTextForFreq("HELLO BRAVE NEW WORLD \u2301 ", 42, DriftingDateTime::currentDateTimeUtc().addSecs(-300), false, true, true); displayActivity(true); @@ -5169,6 +5170,7 @@ int MainWindow::writeMessageTextToUI(QDateTime date, QString text, int freq, boo c.insertText(text); } else { text = text.toHtmlEscaped(); + text = text.replace(" ", " "); if(bold){ text = QString("%1").arg(text); }