|
|
|
@ -41,6 +41,7 @@
|
|
|
|
#include <QTimer>
|
|
|
|
#include <QTimer>
|
|
|
|
#include <QQueue>
|
|
|
|
#include <QQueue>
|
|
|
|
#include <QDir>
|
|
|
|
#include <QDir>
|
|
|
|
|
|
|
|
#include <QGuiApplication>
|
|
|
|
|
|
|
|
|
|
|
|
//#define DISPLAY_PROJECT_DEV_DATA true
|
|
|
|
//#define DISPLAY_PROJECT_DEV_DATA true
|
|
|
|
|
|
|
|
|
|
|
|
@ -403,9 +404,11 @@ namespace O3DE::ProjectManager
|
|
|
|
|
|
|
|
|
|
|
|
if (warningResult == QMessageBox::Yes)
|
|
|
|
if (warningResult == QMessageBox::Yes)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
QGuiApplication::setOverrideCursor(QCursor(Qt::WaitCursor));
|
|
|
|
// Remove project from O3DE and delete from disk
|
|
|
|
// Remove project from O3DE and delete from disk
|
|
|
|
HandleRemoveProject(projectPath);
|
|
|
|
HandleRemoveProject(projectPath);
|
|
|
|
ProjectUtils::DeleteProjectFiles(projectPath);
|
|
|
|
ProjectUtils::DeleteProjectFiles(projectPath);
|
|
|
|
|
|
|
|
QGuiApplication::restoreOverrideCursor();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|