mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	make sure not zero
This commit is contained in:
		
							parent
							
								
									51539952b7
								
							
						
					
					
						commit
						afd97aeb68
					
				| @ -284,6 +284,7 @@ double FoxLog::rate_last_n(int n) | |||||||
|   // size / (time_now - time_of_first)
 |   // size / (time_now - time_of_first)
 | ||||||
|   m_->rate_n_query_.last(); |   m_->rate_n_query_.last(); | ||||||
|   rate_interval = secs_now - m_->rate_n_query_.value (0).toLongLong (); |   rate_interval = secs_now - m_->rate_n_query_.value (0).toLongLong (); | ||||||
|  |   if (rate_interval == 0) return 0.0; | ||||||
| 
 | 
 | ||||||
|   m_->rate_n_query_.first(); // count the records
 |   m_->rate_n_query_.first(); // count the records
 | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user