From 2fc23b7041f0acfed1c0dc916a41ecca6ed884f1 Mon Sep 17 00:00:00 2001 From: Damien Date: Sun, 20 Oct 2013 23:38:17 +0200 Subject: [PATCH] Correction for release_3.0.0 branch --- src/AllPlot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AllPlot.cpp b/src/AllPlot.cpp index beffe683c..2a8f52725 100644 --- a/src/AllPlot.cpp +++ b/src/AllPlot.cpp @@ -868,7 +868,7 @@ AllPlot::refreshCalibrationMarkers() if (!bydist) mrk->setValue(calibration.start / 60.0, 0.0); else - mrk->setValue((context->athlete->useMetricUnits ? 1 : MILES_PER_KM) * + mrk->setValue((mainWindow->useMetricUnits ? 1 : MILES_PER_KM) * rideItem->ride()->timeToDistance(calibration.start), 0.0); mrk->setLabel(text); }