mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-28 23:28:49 -05:00
Issue warning message when a DXpedition message is received in "normal" mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8444 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
5d1df32387
commit
ce63f97f09
@ -2800,7 +2800,11 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
{
|
{
|
||||||
while(proc_jt9.canReadLine()) {
|
while(proc_jt9.canReadLine()) {
|
||||||
QByteArray t=proc_jt9.readLine();
|
QByteArray t=proc_jt9.readLine();
|
||||||
if(m_mode=="FT8" and !m_config.bHound() and t.contains(";")) continue;
|
if(m_mode=="FT8" and !m_config.bHound() and t.contains(";")) {
|
||||||
|
QString errorMsg;
|
||||||
|
MessageBox::critical_message (this,
|
||||||
|
tr("Should you be in FT8 DXpedition mode?"), errorMsg);
|
||||||
|
}
|
||||||
// qint64 ms=QDateTime::currentMSecsSinceEpoch() - m_msec0;
|
// qint64 ms=QDateTime::currentMSecsSinceEpoch() - m_msec0;
|
||||||
bool bAvgMsg=false;
|
bool bAvgMsg=false;
|
||||||
int navg=0;
|
int navg=0;
|
||||||
@ -4967,9 +4971,9 @@ void MainWindow::on_actionFT8_triggered()
|
|||||||
if((m_config.bFox() or m_config.bHound()) and !m_config.split_mode() and !m_bWarnSplit) {
|
if((m_config.bFox() or m_config.bHound()) and !m_config.split_mode() and !m_bWarnSplit) {
|
||||||
QString errorMsg;
|
QString errorMsg;
|
||||||
MessageBox::critical_message (this,
|
MessageBox::critical_message (this,
|
||||||
"We strongly recommend use of *Split* when using\n"
|
"Operation in FT8 DXpedition mode requires using *Split*\n"
|
||||||
"FT8 DXpedition mode. Use either *Rig* or *Fake It*\n"
|
"rig control with either *Rig* or *Fake It* on the \n"
|
||||||
"on the *Settings | Radio* tab.", errorMsg);
|
"*Settings | Radio* tab.", errorMsg);
|
||||||
m_bWarnSplit=true;
|
m_bWarnSplit=true;
|
||||||
}
|
}
|
||||||
statusChanged();
|
statusChanged();
|
||||||
|
Loading…
Reference in New Issue
Block a user