Make ARRL_Digi_Display() [executed at end of decodeDone()] a separate function.

This commit is contained in:
Joe Taylor 2022-03-16 11:35:40 -04:00
parent 04836a447d
commit 9761c10648
2 changed files with 28 additions and 27 deletions

View File

@ -3363,10 +3363,12 @@ void MainWindow::decodeDone ()
m_bNoMoreFiles=false; m_bNoMoreFiles=false;
} }
if((m_mode=="FT4" or m_mode=="FT8") and SpecOp::ARRL_DIGI==m_config.special_op_id()) { if((m_mode=="FT4" or m_mode=="FT8") and SpecOp::ARRL_DIGI==m_config.special_op_id()
// Update the ARRL_DIGI display, etc. and m_latestDecodeTime>=0) ARRL_Digi_Display(); // Update the ARRL_DIGI display
if(m_latestDecodeTime<0) return; }
void MainWindow::ARRL_Digi_Display()
{
QMutableMapIterator<QString,RecentCall> icall(m_recentCall); QMutableMapIterator<QString,RecentCall> icall(m_recentCall);
QString deCall; QString deCall;
int age=0; int age=0;
@ -3391,8 +3393,6 @@ void MainWindow::decodeDone ()
qDebug() << "cc" << t << m_activeCall.count() << m_recentCall.count(); qDebug() << "cc" << t << m_activeCall.count() << m_recentCall.count();
} }
} }
}
} }
void MainWindow::readFromStdout() //readFromStdout void MainWindow::readFromStdout() //readFromStdout

View File

@ -812,6 +812,7 @@ private:
void to_jt9(qint32 n, qint32 istart, qint32 idone); void to_jt9(qint32 n, qint32 istart, qint32 idone);
bool is77BitMode () const; bool is77BitMode () const;
void cease_auto_Tx_after_QSO (); void cease_auto_Tx_after_QSO ();
void ARRL_Digi_Display();
}; };
extern int killbyname(const char* progName); extern int killbyname(const char* progName);