ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/s10k/Vago/xmlprocessor.cpp
(Generate patch)

Comparing Vago/trunk/Vago/xmlprocessor.cpp (file contents):
Revision 771 by s10k, Sun Mar 31 19:02:16 2013 UTC vs.
Revision 815 by s10k, Sat Apr 13 13:44:29 2013 UTC

# Line 1 | Line 1
1   #include "xmlprocessor.h"
2  
3 < XmlProcessor::XmlProcessor(Logger *myLogger, QStringList *commands)
3 > XmlProcessor::XmlProcessor(QString AppDir, Logger *myLogger, QStringList *commands)
4   {
5 +    this->AppDir=AppDir;
6      this->myLogger=myLogger;
7      this->commands=commands;
8   }
# Line 13 | Line 14 | void XmlProcessor::run()
14      QString errorMessage = "";
15      int numErrors=0;
16  
17 +    myProcess->setWorkingDirectory(this->AppDir);
18 +
19      for(int i=0; i<this->commands->size(); i++){
20  
21          myProcess->start(GlobalVars::XmlToolsExeName+" "+this->commands->at(i));

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)