diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index af8df8673..c3f6ad346 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -10026,26 +10026,3 @@ void MainWindow::on_jt65Button_clicked() } on_actionJT65_triggered(); } - -void MainWindow::on_actionCopy_to_WSJTX_txt_triggered() -{ - static QFile f {QDir {QStandardPaths::writableLocation (QStandardPaths::DataLocation)}.absoluteFilePath ("WSJT-X.txt")}; - if(!f.open(QIODevice::Text | QIODevice::WriteOnly)) { - MessageBox::warning_message (this, tr ("WSJT-X.txt file error"), - tr ("Cannot open \"%1\" for writing").arg (f.fileName ()), - tr ("Error: %1").arg (f.errorString ())); - } else { - QString t=ui->decodedTextBrowser->toPlainText(); - - QTextStream out(&f); - out << t << -#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0) - endl -#else - Qt::endl -#endif - ; - f.close(); - } -} - diff --git a/widgets/mainwindow.h b/widgets/mainwindow.h index 0c7cf3647..d9e738920 100644 --- a/widgets/mainwindow.h +++ b/widgets/mainwindow.h @@ -173,7 +173,6 @@ private slots: void on_actionOpen_next_in_directory_triggered(); void on_actionDecode_remaining_files_in_directory_triggered(); void on_actionDelete_all_wav_files_in_SaveDir_triggered(); - void on_actionCopy_to_WSJTX_txt_triggered(); void on_actionOpen_log_directory_triggered (); void on_actionNone_triggered(); void on_actionSave_all_triggered(); diff --git a/widgets/mainwindow.ui b/widgets/mainwindow.ui index c275a70e8..f377631f2 100644 --- a/widgets/mainwindow.ui +++ b/widgets/mainwindow.ui @@ -3026,8 +3026,6 @@ QLabel[oob="true"] { - - @@ -3038,6 +3036,7 @@ QLabel[oob="true"] { + @@ -3670,11 +3669,6 @@ QLabel[oob="true"] { Active Stations - - - Copy main text window to WSJT-X.txt - -