From b9740e3a8e304849e214ab52a95cec53f3d0c741 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sat, 30 May 2015 01:04:15 +0000 Subject: [PATCH] Convert character strings to QString where necessary git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5469 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index d3a6f5170..de179e94f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2229,7 +2229,7 @@ void MainWindow::startTx2() signalMeter->setValue(0); if(m_mode.mid(0,4)=="WSPR" and !m_tune) { t = " Transmiting " + m_mode + " ----------------------- " + - m_config.bands ()->find (m_dialFreq)->name_; + QString {m_config.bands ()->find (m_dialFreq)->name_}; ui->decodedTextBrowser->append(t.rightJustified (71, '-')); QFile f {m_dataDir.absoluteFilePath ("ALL_WSPR.TXT")}; @@ -4164,7 +4164,7 @@ void MainWindow::p1ReadFromStdout() //p1readFromStdout if (m_config.insert_blank () && m_blankLine) { QString band; Frequency f=1000000.0*rxFields.at(3).toDouble()+0.5; - band = ' ' + m_config.bands ()->find (f)->name_; + band = ' ' + QString {m_config.bands ()->find (f)->name_}; ui->decodedTextBrowser->append(band.rightJustified (71, '-')); m_blankLine = false; }