QTfrontend/hw.ui.h
changeset 19 09de46a3328c
parent 18 d49c23eba8ba
--- a/QTfrontend/hw.ui.h	Wed Oct 26 17:26:39 2005 +0000
+++ b/QTfrontend/hw.ui.h	Wed Oct 26 21:15:35 2005 +0000
@@ -35,8 +35,8 @@
 #include <qdir.h>
 #include <qtextstream.h>
 #include <qregexp.h>
+#include "game.h"
 #include "hwconsts.h"
-#include "game.h"
 #include "sdlkeys.h"
 
 class QHostAddress;
@@ -200,23 +200,23 @@
 
 void HWForm::NewTeam()
 {
-	HWTeam tmpTeam;
-	tmpTeam.ToPage( this );
+	HWTeam tmpTeam(this);
+	tmpTeam.ToPage();
 }
 
 
 void HWForm::EditTeam()
 {
-	HWTeam tmpTeam;
+	HWTeam tmpTeam(this);
 	tmpTeam.LoadFromFile(cfgdir.absPath() + "/team.cfg");
-	tmpTeam.ToPage( this );
+	tmpTeam.ToPage();
 }
 
 
 void HWForm::SaveTeamFromPage()
 {
-	HWTeam tmpTeam;
-	tmpTeam.FromPage( this );
+	HWTeam tmpTeam(this);
+	tmpTeam.FromPage();
 	tmpTeam.SaveToFile(cfgdir.absPath() + "/team.cfg");
 }