some bugfixes in Log and guiLog

This commit is contained in:
floty
2010-12-18 23:10:10 +00:00
parent 4f89969bd3
commit 0e46188ff3
11 changed files with 78 additions and 29 deletions
+1 -3
View File
@@ -21,7 +21,6 @@
#include "guiwrapper.h"
#include "session.h"
#include "guilog.h"
#include "log.h"
#include "gametableimpl.h"
#include "startwindowimpl.h"
#include "configfile.h"
@@ -31,13 +30,12 @@
using namespace std;
GuiWrapper::GuiWrapper(ConfigFile *c, startWindowImpl *s) : myGuiLog(NULL), myLog(NULL), myW(NULL), myConfig(c), myStartWindow(s)
GuiWrapper::GuiWrapper(ConfigFile *c, startWindowImpl *s) : myGuiLog(NULL), myW(NULL), myConfig(c), myStartWindow(s)
{
myW = new gameTableImpl(myConfig);
myGuiLog = new guiLog(myW, myConfig);
myLog = new Log(myConfig);
myW->setStartWindow(myStartWindow);
}