mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-13 12:42:20 +00:00
Compare commits
2 Commits
c4a78cea28
...
f89e8bbb74
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f89e8bbb74 | ||
|
|
753758f893 |
@@ -584,7 +584,7 @@ bool RideItem::hasLinkedActivity() const
|
||||
}
|
||||
|
||||
void
|
||||
RideItem::refresh()
|
||||
RideItem::refresh(bool bUpdateIntervals)
|
||||
{
|
||||
if (!isstale) return;
|
||||
|
||||
@@ -685,7 +685,7 @@ RideItem::refresh()
|
||||
}
|
||||
|
||||
// Update auto intervals AFTER ridefilecache as used for bests
|
||||
updateIntervals();
|
||||
if (bUpdateIntervals) updateIntervals();
|
||||
|
||||
// update fingerprints etc, crc done above
|
||||
fingerprint = static_cast<unsigned long>(context->athlete->zones(sport)->getFingerprint(dateTime.date()))
|
||||
|
||||
@@ -223,7 +223,7 @@ class RideItem : public QObject
|
||||
bool hasLinkedActivity() const;
|
||||
|
||||
// refresh when stale
|
||||
void refresh();
|
||||
void refresh(bool bUpdateIntervals=true);
|
||||
|
||||
// get/set
|
||||
void setRide(RideFile *);
|
||||
|
||||
@@ -57,8 +57,6 @@
|
||||
#include "Overview.h"
|
||||
#endif
|
||||
#include "UserChartWindow.h"
|
||||
// Not until v4.0
|
||||
//#include "RouteWindow.h"
|
||||
|
||||
// GcWindows initialization is done in initialize method to enable translations
|
||||
GcWindowRegistry* GcWindows;
|
||||
@@ -231,11 +229,7 @@ GcWindowRegistry::newGcWindow(GcWinID id, Context *context)
|
||||
case GcWindowTypes::WebPageWindow: returning = new WebPageWindow(context); break;
|
||||
case GcWindowTypes::LiveMapWebPageWindow: returning = new LiveMapWebPageWindow(context); break;
|
||||
case GcWindowTypes::ElevationChart: returning = new ElevationChartWindow(context); break;
|
||||
#if 0 // not till v4.0
|
||||
case GcWindowTypes::RouteSegment: returning = new RouteWindow(context); break;
|
||||
#else
|
||||
case GcWindowTypes::RouteSegment: returning = new GcChartWindow(context); break;
|
||||
#endif
|
||||
case GcWindowTypes::RouteSegment: returning = new GcChartWindow(context); break; // Deprecated
|
||||
|
||||
// summary and old ride summary charts now replaced with an Overview - note id gets reset
|
||||
case GcWindowTypes::Summary:
|
||||
|
||||
@@ -9,6 +9,7 @@ scipy
|
||||
lmfit
|
||||
plotly
|
||||
importlib_metadata
|
||||
Jinja2
|
||||
#
|
||||
# Nice to have
|
||||
#
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -789,12 +789,6 @@ win32-msvc* {
|
||||
SOURCES += Core/WindowsCrashHandler.cpp
|
||||
}
|
||||
|
||||
###======================================
|
||||
### PENDING SOURCE FILES [not active yet]
|
||||
###======================================
|
||||
|
||||
DEFERRES += Core/RouteWindow.h Core/RouteWindow.cpp Core/RouteItem.h Core/RouteItem.cpp
|
||||
|
||||
###====================
|
||||
### MISCELLANEOUS FILES
|
||||
###====================
|
||||
|
||||
Reference in New Issue
Block a user