remove global mainwindow pointer from PowerHist

This commit is contained in:
Sean Rhea
2009-12-13 10:06:28 -05:00
parent f45ea33f73
commit c79f4e6497
3 changed files with 9 additions and 6 deletions

View File

@@ -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());