cp plot gets zones in its constructor

This commit is contained in:
Sean Rhea
2009-12-02 11:01:25 -05:00
parent 20efa0ee90
commit 41ec865985
3 changed files with 5 additions and 6 deletions

View File

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