fix(SkinManageDialog.cpp): typo

Signed-off-by: 快乐的老鼠宝宝 <laoshubaby@protonmail.com>
This commit is contained in:
快乐的老鼠宝宝 2024-06-10 17:15:38 +08:00 committed by GitHub
parent 7d418a32e7
commit 1c1e296960
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);
}
}