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:
Mark Liversedge
2020-02-28 09:13:31 +00:00
parent 426c28b961
commit f4d954c3ee

View File

@@ -51,7 +51,7 @@ class GenericLegend;
class GenericCalculator
{
public:
GenericCalculator() {}
GenericCalculator() { initialise(); }
void initialise();
void addPoint(QPointF);