Fixed a bug where MPH was always shown in the AllPlot even when Metric was selected.

This commit is contained in:
Justin Knotzke
2009-08-15 07:26:38 -04:00
parent e3e1f8fe82
commit b5f1e64cae

View File

@@ -184,6 +184,7 @@ AllPlot::AllPlot():
else
settings = new QSettings(home.absolutePath()+"/gc", QSettings::IniFormat);
unit = settings->value(GC_UNIT);
useMetricUnits = (unit.toString() == "Metric");