mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Change character for liter in SAC values as well
And fix the bug that in the info overlay SAC was always given in metric values. And try to reduce the number of places in which we calculate the unit conversions... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									11380a5deb
								
							
						
					
					
						commit
						bbe62f756a
					
				
					 3 changed files with 12 additions and 12 deletions
				
			
		|  | @ -307,10 +307,9 @@ QString get_volume_string(volume_t volume, bool showunit, int mbar) | |||
| 
 | ||||
| QString get_volume_unit() | ||||
| { | ||||
| 	if (prefs.units.volume == units::LITER) | ||||
| 		return "l"; | ||||
| 	else | ||||
| 		return "cuft"; | ||||
| 	const char *unit; | ||||
| 	(void) get_volume_units(0, NULL, &unit); | ||||
| 	return QString(unit); | ||||
| } | ||||
| 
 | ||||
| QString get_pressure_string(pressure_t pressure, bool showunit) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue