--- Vago/trunk/Vago/packageWizard/packagewizard.cpp 2013/04/06 23:30:00 793 +++ Vago/trunk/Vago/packageWizard/packagewizard.cpp 2016/03/24 22:28:41 1035 @@ -14,7 +14,7 @@ int PackageWizard::exec(){ myWizard.setWindowIcon(QIcon(":/new/icons/package.png")); //Center and resize QWizard (http://www.thedazzlersinc.com/source/2012/06/04/qt-center-window-in-screen/) -#ifdef Q_WS_WIN +#ifdef Q_OS_WIN myWizard.resize(640,480); #else myWizard.resize(800,600); // Mac OS pcs should be able to render this resolution without any problem. It's also better @@ -204,8 +204,8 @@ void PackageWizard::copyPackageFolders(c } } QDir().mkpath(path); //create path if doesn't exist - if(!Util::cpDir(sourceFolder,path+Util::cutName(sourceFolder))){//copy contents (creates dest destination automatically if not exists yet) - QString errorString="An error occurred while copping the folder/files to the package folder: \n" + if(!Util::copyDir(sourceFolder,path+Util::cutName(sourceFolder),false)){//copy contents (creates dest destination automatically if not exists yet) + QString errorString="An error occurred while copying the folder/files to the package folder: \n" "Copying from "+sourceFolder+"\n to "+path+Util::cutName(sourceFolder); Util::showErrorLogPopUp(errorString); this->myLogger->writeString(errorString);