issues
search
jdrescher2006
/
Laufhelden
Sport tracker for Sailfish OS
GNU General Public License v3.0
16
stars
17
forks
source link
Code optimalization
#170
Closed
martonmiklos
closed
4 years ago
martonmiklos
commented
4 years ago
I did some housekeeping in the loaded data views.
Move the min/max elevation calculation to the TrackLoader and removedthis calculation from the QML parts
Rename TrackLoader::maxSpeed to maxGroundSpeed and create a maxSpeed method which returns the max of the calculated speeds.
Removed max speed calculation from the QML and utilize the TrackLoader::maxSpeed and TrackLoader::maxGroundSpeed
Removed min/max heartRate calculation from QML (since TrackLoader already exposed these data)
Optimize the QML if the loaded data does not contain HRM data
I did some housekeeping in the loaded data views.