mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
cp plot gets zones in its constructor
This commit is contained in:
@@ -34,7 +34,7 @@ CriticalPowerWindow::CriticalPowerWindow(const QDir &home, MainWindow *parent) :
|
||||
{
|
||||
QVBoxLayout *vlayout = new QVBoxLayout;
|
||||
|
||||
cpintPlot = new CpintPlot(home.path());
|
||||
cpintPlot = new CpintPlot(home.path(), mainWindow->zones);
|
||||
vlayout->addWidget(cpintPlot);
|
||||
|
||||
QFormLayout *cpintPickerLayout = new QFormLayout;
|
||||
|
||||
Reference in New Issue
Block a user