Fix frontend
authorunc0rr
Sun, 28 Sep 2008 15:13:18 +0000
changeset 1290 3cb7f6b5000e
parent 1289 789db262d90d
child 1291 1332d0a8f871
Fix frontend
QTfrontend/pages.cpp
QTfrontend/pages.h
--- a/QTfrontend/pages.cpp	Sun Sep 28 09:18:24 2008 +0000
+++ b/QTfrontend/pages.cpp	Sun Sep 28 15:13:18 2008 +0000
@@ -144,7 +144,7 @@
 	GBTLayout->addWidget(TeamNameEdit);
 	vbox2->addWidget(GBoxTeam);
 	
-	CBTeamLvl = new QComboBox(GBoxTeamLvl);
+	CBTeamLvl = new QComboBox(GBoxTeam);
 	CBTeamLvl->setIconSize(QSize(32, 32));
 	CBTeamLvl->addItem(QIcon(":/res/botlevels/0.png"), QComboBox::tr("Human"));
 	for(int i = 5; i > 0; i--)
@@ -154,7 +154,7 @@
 				);
 	GBTLayout->addWidget(CBTeamLvl);
 	
-	CBGrave = new QComboBox(GBoxGrave);
+	CBGrave = new QComboBox(GBoxTeam);
 	CBGrave->setMaxCount(65535);
 	CBGrave->setIconSize(QSize(32, 32));
 	GBTLayout->addWidget(CBGrave);
--- a/QTfrontend/pages.h	Sun Sep 28 09:18:24 2008 +0000
+++ b/QTfrontend/pages.h	Sun Sep 28 15:13:18 2008 +0000
@@ -137,9 +137,7 @@
 	QGroupBox *GBoxFort;
 	QComboBox *CBFort;
 	SquareLabel *FortPreview;
-	QGroupBox *GBoxGrave;
 	QComboBox *CBGrave;
-	QGroupBox *GBoxTeamLvl;
 	QComboBox *CBTeamLvl;
 	QGroupBox *GBoxBinds;
 	QToolBox *BindsBox;