Crank length updated live (you must change the ride) to see the change. Before this patch you had to restart GC. Thanks to Berend.

This commit is contained in:
Justin F. Knotzke
2009-06-21 16:54:35 +00:00
parent ca26791dcb
commit 40120a373e

View File

@@ -100,7 +100,9 @@ PfPvPlot::setData(RideItem *rideItem)
tot_cad += p1->cad;
tot_cad_points++;
}
}
QSettings settings(GC_SETTINGS_CO, GC_SETTINGS_APP);
setCL(settings.value(GC_CRANKLENGTH).toDouble() / 1000.0);
}
// Now that we have the set of points, transform them into the