mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-16 17:39:58 +00:00
QT5 -- 1 of 3
Porting the codebase to QT 5 (5.2) to get the latest bug fixes, performance and improved platform support. This first part is to fixup the codebase to compile on Qt 5, but some aspects have been broken (video). The second part is to migrate from Qwt 6.0.1 to the latest Qwt for multiaxis support. The third part will be to fixup any platform specific issues or issues identified at runtime.
This commit is contained in:
@@ -44,8 +44,6 @@
|
||||
CriticalPowerWindow::CriticalPowerWindow(const QDir &home, Context *context, bool rangemode) :
|
||||
GcChartWindow(context), _dateRange("{00000000-0000-0000-0000-000000000001}"), home(home), context(context), currentRide(NULL), rangemode(rangemode), isfiltered(false), stale(true), useCustom(false), useToToday(false), active(false)
|
||||
{
|
||||
setInstanceName("Critical Power Window");
|
||||
|
||||
//
|
||||
// reveal controls widget
|
||||
//
|
||||
@@ -872,7 +870,7 @@ void CriticalPowerWindow::seasonSelected(int iSeason)
|
||||
{
|
||||
if (iSeason >= seasons->seasons.count() || iSeason < 0) return;
|
||||
Season season = seasons->seasons.at(iSeason);
|
||||
_dateRange = season.id();
|
||||
//XXX BROKEM CODE IN 5.1 PORT // _dateRange = season.id();
|
||||
cpintPlot->changeSeason(season.getStart(), season.getEnd());
|
||||
cpintPlot->calculate(currentRide);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user