--- a/QTfrontend/hwform.cpp Sun Jan 15 22:48:34 2012 +0100
+++ b/QTfrontend/hwform.cpp Sun Jan 15 22:57:49 2012 +0100
@@ -43,6 +43,7 @@
#include <QPropertyAnimation>
#include <QGraphicsEffect>
#include <QParallelAnimationGroup>
+#include <QSettings>
#include "hwform.h"
#include "game.h"
@@ -101,6 +102,9 @@
bool frontendEffects = true;
QString playerHash;
+GameUIConfig* HWForm::config = NULL;
+QSettings* HWForm::gameSettings = NULL;
+
HWForm::HWForm(QWidget *parent, QString styleSheet)
: QMainWindow(parent)
, game(0)
@@ -131,7 +135,6 @@
config = new GameUIConfig(this, cfgdir->absolutePath() + "/hedgewars.ini");
-
#ifdef __APPLE__
panel = new M3Panel;