mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Create Save Directory if it does not yet exist.
This commit is contained in:
		
							parent
							
								
									9d5f3858d4
								
							
						
					
					
						commit
						f42a1bb357
					
				@ -415,6 +415,8 @@ void MainWindow::dataSink(int k)
 | 
			
		||||
    m_dateTime=t.toString("yyMMdd_hhmm");
 | 
			
		||||
    decode();                                           //Start the decoder
 | 
			
		||||
    if(m_saveAll and !m_diskData and (m_nTx30<5 and m_nTx60<10)) {
 | 
			
		||||
      QDir dir(m_saveDir);
 | 
			
		||||
      if (!dir.exists()) dir.mkpath(".");
 | 
			
		||||
      QString fname=m_saveDir + "/" + t.date().toString("yyMMdd") + "_" +
 | 
			
		||||
          t.time().toString("hhmm");
 | 
			
		||||
      fname += ".iq";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user