mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -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()) {
 | 
			
		||||
    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;
 | 
			
		||||
    bool bAvgMsg=false;
 | 
			
		||||
    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) {
 | 
			
		||||
    QString errorMsg;
 | 
			
		||||
    MessageBox::critical_message (this,
 | 
			
		||||
       "We strongly recommend use of *Split* when using\n"
 | 
			
		||||
       "FT8 DXpedition mode. Use either *Rig* or *Fake It*\n"
 | 
			
		||||
       "on the *Settings | Radio* tab.", errorMsg);
 | 
			
		||||
       "Operation in FT8 DXpedition mode requires using *Split*\n"
 | 
			
		||||
       "rig control with either *Rig* or *Fake It* on the \n"
 | 
			
		||||
       "*Settings | Radio* tab.", errorMsg);
 | 
			
		||||
    m_bWarnSplit=true;
 | 
			
		||||
  }
 | 
			
		||||
  statusChanged();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user