From 938d96fecc4bed0928947602d5da3b0c92fc12ec Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Tue, 22 Dec 2020 03:48:35 +0000 Subject: [PATCH] Save sub-mode details to .WAV file metadata for Q65 mode --- widgets/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index f347318e0..75d24590a 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -1671,7 +1671,7 @@ QString MainWindow::save_wave_file (QString const& name, short const * data, int auto comment = QString {"Mode=%1%2; Freq=%3%4"} .arg (mode) .arg (QString {(mode.contains ('J') && !mode.contains ('+')) - || mode.startsWith ("FST4") || mode.startsWith ("QRA") + || mode.startsWith ("FST4") || mode.startsWith ('Q') ? QString {"; Sub Mode="} + QString::number (int (samples / 12000)) + QChar {'A' + sub_mode} : QString {}}) .arg (Radio::frequency_MHz_string (frequency))