# HG changeset patch # User displacer # Date 1168726350 0 # Node ID ea947f2c3d2fe83f20493712c61314181ba130a8 # Parent e7175ae57945de536be1ff672b0935f5fcdf04e9 remove some old stuff diff -r e7175ae57945 -r ea947f2c3d2f QTfrontend/hwform.cpp --- a/QTfrontend/hwform.cpp Sat Jan 13 15:13:23 2007 +0000 +++ b/QTfrontend/hwform.cpp Sat Jan 13 22:12:30 2007 +0000 @@ -313,6 +313,14 @@ for(QStringList::iterator it=addedTeams.begin(); it!=addedTeams.end(); ++it) { ui.pageNetGame->pNetTeamsWidget->addTeam(*it, true); } + + /* + QStringList lstQSPlaying; + std::for_each(lstPlaying.begin(), lstPlaying.end(), lstQSPlaying.push_back); + QStringList removedTeams=teams; + for(QStringList::iterator it=teams.begin() + list::iterator removedItem=std::find(addedTeams.begin(), addedTeams.end(), nm); + */ } void HWForm::StartMPGame() diff -r e7175ae57945 -r ea947f2c3d2f QTfrontend/pages.cpp --- a/QTfrontend/pages.cpp Sat Jan 13 15:13:23 2007 +0000 +++ b/QTfrontend/pages.cpp Sat Jan 13 22:12:30 2007 +0000 @@ -447,13 +447,9 @@ { QFont * font14 = new QFont("MS Shell Dlg", 14); QGridLayout * pageLayout = new QGridLayout(this); - //pageLayout->setColumnStretch(0, 1); - //pageLayout->setColumnStretch(1, 2); - //pageLayout->setColumnStretch(2, 1); pGameCFG=new GameCFGWidget(this); pageLayout->addWidget(pGameCFG, 0, 0); - pNetTeamsWidget=new TeamSelWidget(this); pageLayout->addWidget(pNetTeamsWidget, 0, 1); @@ -463,18 +459,10 @@ BtnBack->setText(QPushButton::tr("Back")); pageLayout->addWidget(BtnBack, 1, 0); - BtnAddTeam = new QPushButton(this); - BtnAddTeam->setFont(*font14); - BtnAddTeam->setText(QPushButton::tr("Add Team")); - //pageLayout->addWidget(BtnAddTeam, 1, 1); - BtnGo = new QPushButton(this); BtnGo->setFont(*font14); BtnGo->setText(QPushButton::tr("Go!")); pageLayout->addWidget(BtnGo, 1, 1); - - listNetTeams = new QListWidget(this); - //pageLayout->addWidget(listNetTeams, 0, 1); } PageInfo::PageInfo(QWidget* parent) : QWidget(parent) diff -r e7175ae57945 -r ea947f2c3d2f QTfrontend/pages.h --- a/QTfrontend/pages.h Sat Jan 13 15:13:23 2007 +0000 +++ b/QTfrontend/pages.h Sat Jan 13 22:12:30 2007 +0000 @@ -187,9 +187,7 @@ PageNetGame(QWidget* parent = 0); QPushButton *BtnBack; - QPushButton *BtnAddTeam; QPushButton *BtnGo; - QListWidget *listNetTeams; TeamSelWidget* pNetTeamsWidget;