Actual fix for #135 (#154)

* Fix for #135 and fixes for other issues such as actually playing the game

* Removed accidentally added .vscode files

* Patchy patch
This commit is contained in:
Maftei Albert-Alexandru
2022-01-25 03:58:54 +02:00
committed by GitHub
parent 18aa0d2faa
commit 4afe2466fd
7 changed files with 32 additions and 68 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...