mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Bugfix duplicate temp on summary
Making the column list a static array was a bad idea since we append to it every time we summarise a ride with temperature! Fixes #344.
This commit is contained in:
@@ -158,13 +158,13 @@ RideSummaryWindow::htmlSummary() const
|
||||
<< "total_work"
|
||||
<< "elevation_gain";
|
||||
|
||||
static QStringList averageColumn = QStringList() // not const as modified below..
|
||||
QStringList averageColumn = QStringList() // not const as modified below..
|
||||
<< "average_speed"
|
||||
<< "average_power"
|
||||
<< "average_hr"
|
||||
<< "average_cad";
|
||||
|
||||
static QStringList maximumColumn = QStringList() // not const as modified below..
|
||||
QStringList maximumColumn = QStringList() // not const as modified below..
|
||||
<< "max_speed"
|
||||
<< "max_power"
|
||||
<< "max_heartrate"
|
||||
|
||||
Reference in New Issue
Block a user