fixed a crash condition where blip rate is less than 1
This commit is contained in:
		
							parent
							
								
									ec1057b5d7
								
							
						
					
					
						commit
						0788b162f1
					
				@ -9,6 +9,10 @@ QString AOApplication::read_theme()
 | 
			
		||||
int AOApplication::read_blip_rate()
 | 
			
		||||
{
 | 
			
		||||
  int result = configini->value("blip_rate", 1).toInt();
 | 
			
		||||
 | 
			
		||||
  if (result < 1)
 | 
			
		||||
    return 1;
 | 
			
		||||
 | 
			
		||||
  return result;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user