From 7ccef46ba0a96729266e36f62eb2a6267c5a9a0d Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 13 Oct 2016 21:32:30 +0000 Subject: [PATCH] Fix the broken "click-on-callsign" logic. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7178 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 242256dbb..8f9c220e0 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -2644,7 +2644,7 @@ void MainWindow::guiUpdate() double tx1=0.0; double tx2=txDuration; - if((icw[0]>0) and (!m_bFast9)) tx2 += icw[0]*2560.0/48000.0; //Full length including CW ID + if((icw[0]>0) and (!m_bFast9)) tx2 += icw[0]*2560.0/48000.0; //Full length including CW ID if(!m_txFirst and !m_mode.startsWith ("WSPR")) { tx1 += m_TRperiod; tx2 += m_TRperiod; @@ -3265,13 +3265,13 @@ void MainWindow::processMessage(QString const& messages, int position, bool ctrl QString t2 = messages.mid(i1,position-i1); //selected line QString t2a; int ntsec=3600*t2.mid(0,2).toInt() + 60*t2.mid(2,2).toInt(); - if(m_bFast9) { + if(m_bFastMode) { ntsec = ntsec + t2.mid(4,2).toInt(); t2a=t2.mid(0,4) + t2.mid(6,-1); //Change hhmmss to hhmm for the message parser } else { t2a=t2.left (44); // strip and quality info trailing the decoded message } - if(m_bFast9) { + if(m_bFastMode) { i1=t2a.indexOf(" CQ "); if(i1>10) { bool ok;