some bugfixes in Log and guiLog
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user