| 204 | 
   | 
             } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 205 | 
   | 
         } | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 206 | 
   | 
         QDir().mkpath(path); //create path if doesn't exist | 
 
 
 
 
 
 
 
 
 
 
 
 | 207 | 
 < | 
         if(!Util::cpDir(sourceFolder,path+Util::cutName(sourceFolder))){//copy contents (creates dest destination automatically if not exists yet) | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 208 | 
 < | 
             QString errorString="An error occurred while copping the folder/files to the package folder: \n" | 
 
 
 
 
 
 
 
 
 
 | 207 | 
 > | 
         if(!Util::copyDir(sourceFolder,path+Util::cutName(sourceFolder),false)){//copy contents (creates dest destination automatically if not exists yet) | 
 
 
 
 
 
 | 208 | 
 > | 
             QString errorString="An error occurred while copying the folder/files to the package folder: \n" | 
 
 
 
 
 
 
 
 
 
 
 
 | 209 | 
   | 
                     "Copying from "+sourceFolder+"\n to "+path+Util::cutName(sourceFolder); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 210 | 
   | 
             Util::showErrorLogPopUp(errorString); | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 211 | 
   | 
             this->myLogger->writeString(errorString); |