Remove Project ID field from New Project settings

Signed-off-by: nggieber <52797929+AMZN-nggieber@users.noreply.github.com>
This commit is contained in:
nggieber
2021-12-09 10:25:04 -08:00
parent d7a3d63457
commit c632fadb8f
8 changed files with 83 additions and 61 deletions
@@ -43,11 +43,9 @@ namespace O3DE::ProjectManager
{
const QString defaultName = GetDefaultProjectName();
const QString defaultPath = QDir::toNativeSeparators(GetDefaultProjectPath() + "/" + defaultName);
const QString randomUuid = GenerateNewProjectId();
m_projectName->lineEdit()->setText(defaultName);
m_projectPath->lineEdit()->setText(defaultPath);
m_projectId->lineEdit()->setText(randomUuid);
// if we don't use a QFrame we cannot "contain" the widgets inside and move them around
// as a group
@@ -177,14 +175,6 @@ namespace O3DE::ProjectManager
return QDir::toNativeSeparators(GetDefaultProjectPath() + "/" + projectName);
}
QString NewProjectSettingsScreen::GenerateNewProjectId()
{
AZStd::string uuid;
AZ::Uuid::CreateRandom().ToString(uuid);
return QString(uuid.c_str());
}
ProjectManagerScreen NewProjectSettingsScreen::GetScreenEnum()
{
return ProjectManagerScreen::NewProjectSettings;