Fixed constructor bug when using a NULL value and qwt5. ie. unit(NULL) -> unit(0)

This commit is contained in:
Robert Carlsen
2009-08-11 17:15:54 -04:00
parent 622516b63d
commit e8a7a4bf4d
2 changed files with 2 additions and 2 deletions

View File

@@ -170,7 +170,7 @@ max(double a, double b) { if (a > b) return a; else return b; }
AllPlot::AllPlot():
settings(NULL),
unit(NULL),
unit(0),
d_mrk(NULL), rideItem(NULL),
hrArray(NULL), wattsArray(NULL),
speedArray(NULL), cadArray(NULL), timeArray(NULL),

View File

@@ -209,7 +209,7 @@ PowerHist::PowerHist():
binw(20),
withz(true),
settings(NULL),
unit(NULL),
unit(0),
lny(false)
{