Merge pull request #1546 from aws-lumberyard-dev/LYN-4435

Show mouse cursor as busy when copying project
This commit is contained in:
AMZN-Phil
2021-06-25 09:06:27 -07:00
committed by GitHub
@@ -14,6 +14,7 @@
#include <QFileInfo>
#include <QProcess>
#include <QProcessEnvironment>
#include <QGuiApplication>
namespace O3DE::ProjectManager
{
@@ -118,9 +119,10 @@ namespace O3DE::ProjectManager
return false;
}
// TODO: Block UX and Notify User they need to wait
QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
copyResult = CopyProject(origPath, newPath);
QGuiApplication::restoreOverrideCursor();
}
return copyResult;