mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-23 12:10:00 +00:00
UltimMC: Add our changes
This commit is contained in:
@@ -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...
|
||||
|
||||
Reference in New Issue
Block a user