diff --git a/mainwindow.cpp b/mainwindow.cpp index 9cdce7c..8a84b68 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -5417,10 +5417,6 @@ int MainWindow::currentFreqOffset(){ return ui->RxFreqSpinBox->value(); } -int MainWindow::countMessageFrames(QString const& text){ - return buildMessageFrames(text).length(); -} - QStringList MainWindow::buildMessageFrames(const QString &text){ // prepare selected callsign for directed message QString selectedCall = callsignSelected(); @@ -7939,6 +7935,7 @@ void MainWindow::updateTextDisplay(){ #define USE_SYNC_FRAME_COUNT 0 void MainWindow::refreshTextDisplay(){ + qDebug() << "refreshing text display..."; auto text = ui->extFreeTextMsgEdit->toPlainText(); #if USE_SYNC_FRAME_COUNT diff --git a/mainwindow.h b/mainwindow.h index d2fe9f7..0393c81 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -296,7 +296,6 @@ private slots: void on_nextFreeTextMsg_currentTextChanged (QString const&); void on_extFreeTextMsgEdit_currentTextChanged (QString const&); int currentFreqOffset(); - int countMessageFrames(QString const& text); QStringList buildMessageFrames(QString const& text); bool prepareNextMessageFrame(); bool isFreqOffsetFree(int f, int bw);