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.
s10k/Vago/xmlToolsInterface/xmltoolsinterface.cpp (file contents), Revision 1092 by s10k, Sat Dec 30 13:43:28 2017 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)