Merge pull request #2498 from LaoshuBaby/patch-1

fix(SkinManageDialog.cpp): typo
This commit is contained in:
Tayou 2024-06-10 13:21:51 +02:00 committed by GitHub
commit 6b1c4981e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -484,7 +484,7 @@ void SkinManageDialog::on_userBtn_clicked()
if (failReason.isEmpty()) {
failReason = tr("the skin is invalid");
}
CustomMessageBox::selectable(this, tr("Usename not found"),
CustomMessageBox::selectable(this, tr("Username not found"),
tr("Unable to find the skin for '%1'\n because: %2.").arg(user, failReason), QMessageBox::Critical)
->show();
QFile::remove(path);
@ -497,4 +497,4 @@ void SkinManageDialog::on_userBtn_clicked()
s.setCapeId(mcProfile.currentCape);
}
m_list.updateSkin(&s);
}
}