remove configFile from Log

This commit is contained in:
floty
2011-01-03 17:56:06 +00:00
parent a0f91b04c7
commit 924d6a38b7
3 changed files with 15 additions and 11 deletions
+3 -1
View File
@@ -46,7 +46,7 @@ Session::Session(GuiInterface *g, ConfigFile *c)
: currentGameNum(0), myGui(g), myConfig(c), myLog(0), myGameType(GAME_TYPE_NONE)
{
myQtToolsInterface = CreateQtToolsWrapper();
myLog = new Log(myConfig);
myLog = new Log(myConfig->readConfigString("LogDir"),myConfig->readConfigInt("LogOnOff"));
}
@@ -56,6 +56,8 @@ Session::~Session()
terminateNetworkServer();
delete myQtToolsInterface;
myQtToolsInterface = 0;
delete myLog;
myLog = 0;
}
bool Session::init()