UltimMC: Add our changes

This commit is contained in:
Neptune
2024-03-03 11:42:23 -05:00
parent 2c9e7b75f4
commit 0d01261956
45 changed files with 2191 additions and 445 deletions

View File

@@ -59,7 +59,9 @@ ProfileSetupDialog::~ProfileSetupDialog()
void ProfileSetupDialog::on_buttonBox_accepted()
{
setupProfile(currentCheck);
//setNameStatus(NameStatus::Available);
accept();
//setupProfile(currentCheck);
}
void ProfileSetupDialog::on_buttonBox_rejected()
@@ -171,7 +173,8 @@ void ProfileSetupDialog::checkFinished(
}
}
else {
setNameStatus(NameStatus::Error, tr("Failed to check name availability."));
setNameStatus(NameStatus::Available);
//setNameStatus(NameStatus::Error, tr("Failed to check name availability."));
}
isChecking = false;
}
@@ -238,7 +241,7 @@ void ProfileSetupDialog::setupProfileFinished(
requestor->deleteLater();
isWorking = false;
if(error == QNetworkReply::NoError) {
if(error != QNetworkReply::NoError) {
/*
* data contains the profile in the response
* ... we could parse it and update the account, but let's just return back to the normal login flow instead...