mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
remove global mainwindow pointer from PowerHist
This commit is contained in:
@@ -52,7 +52,7 @@ HistogramWindow::HistogramWindow(MainWindow *mainWindow) :
|
||||
histParameterCombo = new QComboBox();
|
||||
binWidthLayout->addWidget(histParameterCombo);
|
||||
|
||||
powerHist = new PowerHist();
|
||||
powerHist = new PowerHist(mainWindow);
|
||||
setHistTextValidator();
|
||||
|
||||
lnYHistCheckBox->setChecked(powerHist->islnY());
|
||||
|
||||
Reference in New Issue
Block a user