QTfrontend/hwform.h
changeset 2773 e94f240a8a41
parent 2515 51d3f4b6293a
child 2821 67815ee123d7
--- a/QTfrontend/hwform.h	Mon Feb 08 21:49:52 2010 +0000
+++ b/QTfrontend/hwform.h	Tue Feb 09 01:47:50 2010 +0000
@@ -41,6 +41,7 @@
 class HWNetRegisterServer;
 class QCloseEvent;
 class AmmoSchemeModel;
+class QSettings;
 
 extern bool frontendEffects;
 
@@ -52,6 +53,8 @@
 	HWForm(QWidget *parent = 0);
 	Ui_HWForm ui;
 	SDLInteraction sdli;
+	GameUIConfig * config;
+    QSettings * gameSettings; // Same file GameUIConfig points to but without the baggage.  Needs sync() calls if you want to get GameUIConfig changes though
 
 private slots:
 	void GoToMain();
@@ -144,7 +147,6 @@
 	HWNetRegisterServer* pRegisterServer;
 	HWTeam * editedTeam;
 	HWNewNet * hwnet;
-	GameUIConfig * config;
 	HWNamegen * namegen;
 	AmmoSchemeModel * ammoSchemeModel;
 	QStack<quint8> PagesStack;