Show mouse cursor as busy when copying project

This commit is contained in:
pconroy
2021-06-23 20:51:55 -07:00
parent b224a47e0c
commit 5b277cc061
@@ -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;