Small cleanup + fix showing wrong page at startup
authorunc0rr
Wed, 21 Feb 2007 20:46:51 +0000
changeset 475 1e46d45da242
parent 474 2e3c1b9ad495
child 476 a4e975f70b60
Small cleanup + fix showing wrong page at startup
QTfrontend/hwform.cpp
QTfrontend/hwform.h
--- a/QTfrontend/hwform.cpp	Wed Feb 21 20:31:50 2007 +0000
+++ b/QTfrontend/hwform.cpp	Wed Feb 21 20:46:51 2007 +0000
@@ -30,7 +30,6 @@
 #include "hwform.h"
 #include "game.h"
 #include "team.h"
-#include "netclient.h"
 #include "teamselect.h"
 #include "gameuiconfig.h"
 #include "pages.h"
@@ -152,11 +151,6 @@
 	GoToPage(ID_PAGE_NET);
 }
 
-void HWForm::GoToNetChat()
-{
-	GoToPage(ID_PAGE_NETCHAT);
-}
-
 void HWForm::OnPageShown(quint8 id)
 {
 	if (id == ID_PAGE_MULTIPLAYER || id == ID_PAGE_NETCFG) {
--- a/QTfrontend/hwform.h	Wed Feb 21 20:31:50 2007 +0000
+++ b/QTfrontend/hwform.h	Wed Feb 21 20:46:51 2007 +0000
@@ -47,7 +47,6 @@
 	void GoToMultiplayer();
 	void GoToDemos();
 	void GoToNet();
-	void GoToNetChat();
 	void GoToInfo();
 	void GoToPage(quint8 id);
 	void GoBack();
@@ -82,11 +81,10 @@
 		ID_PAGE_MULTIPLAYER	= 3,
 		ID_PAGE_DEMOS	= 4,
 		ID_PAGE_NET	= 5,
-		ID_PAGE_NETCHAT	= 6,
-		ID_PAGE_NETCFG	= 7,
-		ID_PAGE_INFO	= 8,
-		ID_PAGE_MAIN	= 9,
-		ID_PAGE_GAMESTATS = 10
+		ID_PAGE_NETCFG	= 6,
+		ID_PAGE_INFO	= 7,
+		ID_PAGE_MAIN	= 8,
+		ID_PAGE_GAMESTATS = 9
 		};
 	HWGame * game;
 	HWTeam * editedTeam;