mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
Fixed constructor bug when using a NULL value and qwt5. ie. unit(NULL) -> unit(0)
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -209,7 +209,7 @@ PowerHist::PowerHist():
|
||||
binw(20),
|
||||
withz(true),
|
||||
settings(NULL),
|
||||
unit(NULL),
|
||||
unit(0),
|
||||
lny(false)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user