diff --git a/mainwindow.cpp b/mainwindow.cpp index ec65ade42..ccbb29162 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -5201,6 +5201,10 @@ void MainWindow::cabLog() out << t << endl; f.close(); if(m_msgAvgWidget != NULL and m_msgAvgWidget->isVisible()) { + QString band; + band.sprintf(" %5d ",nfreq); + t=QDateTime::currentDateTimeUtc().toString("yyyy-MM-dd hhmm ") + band + + m_hisCall.leftJustified(13,' ') + m_xSent.leftJustified(14,' ') + m_xRcvd; m_msgAvgWidget->foxAddLog(t); } } else { diff --git a/messageaveraging.cpp b/messageaveraging.cpp index 0711d93b6..b73a5a9d9 100644 --- a/messageaveraging.cpp +++ b/messageaveraging.cpp @@ -20,6 +20,8 @@ MessageAveraging::MessageAveraging(QSettings * settings, QFont const& font, QWid read_settings (); if(m_title_.contains("Fox")) { ui->header_label->setText(" Date Time Call Grid Sent Rcvd Band"); + } else if(m_title_.contains("Contest")) { + ui->header_label->setText(" Date UTC Band Call Sent Rcvd"); } else { ui->header_label->setText(" UTC Sync DT Freq "); ui->lab1->setVisible(false); @@ -98,17 +100,10 @@ void MessageAveraging::foxLogSetup(int nContest) if(nContest>0 and nContest<5) { m_title_=QApplication::applicationName () + " - Contest Log"; setWindowTitle(m_title_); - ui->header_label->setText(" Date Time Call Grid Sent Rcvd Band"); + ui->header_label->setText(" Date UTC Band Call Sent Rcvd"); } } -void MessageAveraging::contestLogSetup() -{ - m_title_=QApplication::applicationName () + " - Contest Log"; - setWindowTitle(m_title_); - ui->header_label->setText(" Date Time Call Grid Sent Rcvd Band"); -} - void MessageAveraging::foxLabCallers(int n) { QString t; diff --git a/messageaveraging.h b/messageaveraging.h index 6705bceed..05358db89 100644 --- a/messageaveraging.h +++ b/messageaveraging.h @@ -18,7 +18,6 @@ public: void displayAvg(QString const&); void changeFont (QFont const&); void foxLogSetup(int nContest); - void contestLogSetup(); void foxLabCallers(int n); void foxLabQueued(int n); void foxLabRate(int n);