--- s10k/Vago/xmlprocessor.cpp 2017/12/30 13:43:28 1092 +++ s10k/Vago/xmlprocessor.cpp 2017/12/30 13:57:32 1093 @@ -1,9 +1,8 @@ #include "xmlprocessor.h" -XmlProcessor::XmlProcessor(QString AppDir, Logger *myLogger, QStringList *commands) +XmlProcessor::XmlProcessor(QString AppDir, QStringList *commands) { this->AppDir=AppDir; - this->myLogger=myLogger; this->commands=commands; } @@ -24,7 +23,7 @@ void XmlProcessor::run() if(!result.isEmpty()){ //catch exception - myLogger->writeString("Xml Tools Error: \n"+this->commands->at(i)+"\n"+result); + LOG_ERROR << "Xml Tools Error: \n" + this->commands->at(i) + "\n"+result; errorMessage=result; numErrors++; }