diff -r df9d0728c5bb -r 51d3f4b6293a QTfrontend/ui_hwform.cpp --- a/QTfrontend/ui_hwform.cpp Fri Oct 16 22:46:58 2009 +0000 +++ b/QTfrontend/ui_hwform.cpp Sat Oct 17 01:28:49 2009 +0000 @@ -22,12 +22,13 @@ #include #include "ui_hwform.h" +#include "hwform.h" #include "pages.h" #include "statsPage.h" #include "playrecordpage.h" #include "hwconsts.h" -void Ui_HWForm::setupUi(QMainWindow *HWForm) +void Ui_HWForm::setupUi(HWForm *HWForm) { SetupFonts(); @@ -38,7 +39,7 @@ centralWidget = new QWidget(HWForm); centralWidget->setObjectName(QString::fromUtf8("centralWidget")); - SetupPages(centralWidget); + SetupPages(centralWidget, HWForm); HWForm->setCentralWidget(centralWidget); @@ -52,11 +53,11 @@ font14 = new QFont("MS Shell Dlg", 14); } -void Ui_HWForm::SetupPages(QWidget *Parent) +void Ui_HWForm::SetupPages(QWidget *Parent, HWForm *HWForm) { Pages = new QStackedLayout(Parent); - pageEditTeam = new PageEditTeam(); + pageEditTeam = new PageEditTeam(Parent, HWForm->sdli); Pages->addWidget(pageEditTeam); pageOptions = new PageOptions();