mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Restrict Fox activity with Nslots>1.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8469 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
23213b2204
commit
c81d17a5f4
@ -920,7 +920,6 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
|
||||
ui->cbMenus->setChecked(true);
|
||||
ui->cbMenus->setChecked(false);
|
||||
}
|
||||
|
||||
// this must be the last statement of constructor
|
||||
if (!m_valid) throw std::runtime_error {"Fatal initialization exception"};
|
||||
}
|
||||
@ -3562,6 +3561,17 @@ void MainWindow::guiUpdate()
|
||||
} else {
|
||||
m_bVHFwarned=false;
|
||||
}
|
||||
if(m_config.bFox()) {
|
||||
if(m_config.my_callsign()=="K1JT" or m_config.my_callsign()=="K9AN" or
|
||||
m_config.my_callsign()=="G4WJS" or m_config.my_callsign()=="KH1/KH7Z" or
|
||||
m_config.my_callsign().contains("AA7A") or m_config.my_callsign().contains("N1DG")) {
|
||||
ui->sbNslots->setMaximum(5);
|
||||
ui->sbNslots->setEnabled(true);
|
||||
} else {
|
||||
ui->sbNslots->setMaximum(1);
|
||||
ui->sbNslots->setEnabled(false);
|
||||
}
|
||||
}
|
||||
/*
|
||||
qDebug() << "aa" << QDate::currentDate().toJulianDay() << QDate::currentDate().toJulianDay() - 2458150;
|
||||
if((QDate::currentDate().toJulianDay() - 2458156) > 30) {
|
||||
|
@ -1649,7 +1649,10 @@ list. The list can be maintained in Settings (F2).</string>
|
||||
<number>5</number>
|
||||
</property>
|
||||
<property name="value">
|
||||
<number>5</number>
|
||||
<number>1</number>
|
||||
</property>
|
||||
<property name="displayIntegerBase">
|
||||
<number>10</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user