summaryrefslogtreecommitdiff
path: root/widgets/mainwindow.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-02-18 16:02:22 +0100
committerChristoph Berg <myon@debian.org>2025-02-18 16:02:22 +0100
commit0e766f8d0f29c5aed0692df996dde8378e9d3991 (patch)
tree4c8cd34bd3d36adcaa66cf29a0a82881a2515bcb /widgets/mainwindow.cpp
parent65eedd75837be0e609489d8845040141be6058e6 (diff)
parent310d05acf2c9233f7e336ae7dd9ffb7b54ca4e62 (diff)
Update upstream source from tag 'upstream/2.7.0+repack'
Update to upstream version '2.7.0+repack' with Debian dir 4e31860b0dd5a9f3eeaada845489461d51c9309d
Diffstat (limited to 'widgets/mainwindow.cpp')
-rwxr-xr-xwidgets/mainwindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp
index 0e5ec44d..27c22fe4 100755
--- a/widgets/mainwindow.cpp
+++ b/widgets/mainwindow.cpp
@@ -1389,8 +1389,8 @@ void MainWindow::readSettings()
bool displayActiveStations = m_settings->value ("ActiveStationsDisplayed", false).toBool ();
bool displayQSYMessageCreator = m_settings->value ("QSYMessageCreatorDisplayed", false).toBool ();
bool displayQSYMonitor = m_settings->value("QSYMonitorDisplayed", false).toBool ();
+ bool enableQSYpopups = m_settings->value("ShowQSYMessages", true).toBool ();
if(m_config.enable_VHF_features()) ui->actionEnable_QSY_Popups->setVisible(true);
- ui->actionEnable_QSY_Popups->setChecked(m_settings->value("ShowQSYMessages", true).toBool ());
ui->respondComboBox->setCurrentIndex(m_settings->value("RespondCQ",0).toInt());
ui->comboBoxHoundSort->setCurrentIndex(m_settings->value("HoundSort",3).toInt());
ui->sbNlist->setValue(m_settings->value("FoxNlist",12).toInt());
@@ -1407,9 +1407,9 @@ void MainWindow::readSettings()
m_mode=m_settings->value("Mode","FT8").toString();
m_settings->endGroup();
-
// do this outside of settings group because it uses groups internally
ui->actionAstronomical_data->setChecked (displayAstro);
+ ui->actionEnable_QSY_Popups->setChecked (enableQSYpopups);
// do this in the General group because we save the parameters from various places
if(m_mode=="JT9") {
@@ -2057,7 +2057,7 @@ void MainWindow::fastSink(qint64 frames)
bool stdMsg = decodedtext.report(m_baseCall,
Radio::base_callsign(ui->dxCallEntry->text()),m_rptRcvd);
if (stdMsg) pskPost (decodedtext);
- if(ui->actionEnable_QSY_Popups->isChecked() || m_qsymonitorWidget->isVisible()) showQSYMessage(message);
+ if(ui->actionEnable_QSY_Popups->isChecked() || m_qsymonitorWidget) showQSYMessage(message);
}
float fracTR=float(k)/(12000.0*m_TRperiod);
@@ -3131,7 +3131,7 @@ void MainWindow::on_actionCopyright_Notice_triggered()
"\"The algorithms, source code, look-and-feel of WSJT-X and related "
"programs, and protocol specifications for the modes FSK441, FST4, FT8, "
"JT4, JT6M, JT9, JT65, JTMS, QRA64, Q65, MSK144 are Copyright (C) "
- "2001-2024 by one or more of the following authors: Joseph Taylor, "
+ "2001-2025 by one or more of the following authors: Joseph Taylor, "
"K1JT; Bill Somerville, G4WJS; Steven Franke, K9AN; Nico Palermo, "
"IV3NWV; Greg Beam, KI7MT; Michael Black, W9MDB; Edson Pereira, PY2SDR; "
"Philip Karn, KA9Q; Uwe Risse, DG2YCB; Brian Moran, N9ADG; "
@@ -4357,7 +4357,7 @@ void MainWindow::readFromStdout() //readFromStdout
while(proc_jt9.canReadLine()) {
auto line_read = proc_jt9.readLine ();
QString the_line = QString(line_read);
- if(ui->actionEnable_QSY_Popups->isChecked() || m_qsymonitorWidget->isVisible()) showQSYMessage(the_line);
+ if(ui->actionEnable_QSY_Popups->isChecked() || m_qsymonitorWidget) showQSYMessage(the_line);
if (m_mode == "FT8" and m_specOp == SpecOp::FOX and m_ActiveStationsWidget != NULL) { // see if we should add this to ActiveStations window
if (!m_ActiveStationsWidget->wantedOnly() ||
(the_line.contains(" " + m_config.my_callsign() + " ") ||