one ConfigFile for all
killed the tinyxml warnings
This commit is contained in:
@@ -27,11 +27,10 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
Log::Log(mainWindowImpl* w) : myW(w)
|
||||
Log::Log(mainWindowImpl* w, ConfigFile *c) : myW(w), myConfig(c)
|
||||
{
|
||||
myW->setLog(this);
|
||||
|
||||
myConfig = new ConfigFile;
|
||||
if(myConfig->readConfigString("LogDir") != "" && QDir::QDir(QString::fromUtf8(myConfig->readConfigString("LogDir").c_str())).exists()) {
|
||||
|
||||
myLogDir = new QDir(QString::fromUtf8(myConfig->readConfigString("LogDir").c_str()));
|
||||
|
||||
Reference in New Issue
Block a user