mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Initialise Calc member variables
.. rather egregiously did not set any to zero etc and expected cummulative ops to just work. they didn't.
This commit is contained in:
@@ -51,7 +51,7 @@ class GenericLegend;
|
||||
class GenericCalculator
|
||||
{
|
||||
public:
|
||||
GenericCalculator() {}
|
||||
GenericCalculator() { initialise(); }
|
||||
|
||||
void initialise();
|
||||
void addPoint(QPointF);
|
||||
|
||||
Reference in New Issue
Block a user