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

Comparing Vago/trunk/Vago/xmlToolsInterface/xmltoolsinterface.cpp (file contents):
Revision 1058 by s10k, Sun Oct 30 14:42:39 2016 UTC vs.
Revision 1059 by s10k, Sun Oct 30 16:01:17 2016 UTC

# Line 154 | Line 154 | void XmlToolsInterface::on_pbPreviewOper
154  
155      QFile oldFile(previewFileLocation);
156  
157 +    // Create temp folder if it doesn't exist
158 +    if(!QDir(GlobalVars::VagoTemporaryDir).exists()){
159 +        QDir().mkdir(GlobalVars::VagoTemporaryDir);
160 +    }
161 +
162      if(oldFile.exists()){
163          if(!oldFile.remove()){
164              UtilVago::showAndLogErrorPopUpLogButton(this->myLogger,

Diff Legend

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