ensured that the variant is allways uppercase
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
44cdf3f697
commit
8b8ea2d270
2 changed files with 3 additions and 3 deletions
|
@ -460,7 +460,7 @@ void SkinManageDialog::on_userBtn_clicked()
|
|||
dlg.execWithTask(job.get());
|
||||
|
||||
SkinModel s(path);
|
||||
s.setModel(mcProfile.skin.variant == "SLIM" ? SkinModel::SLIM : SkinModel::CLASSIC);
|
||||
s.setModel(mcProfile.skin.variant.toUpper() == "SLIM" ? SkinModel::SLIM : SkinModel::CLASSIC);
|
||||
s.setURL(mcProfile.skin.url);
|
||||
if (m_capes.contains(mcProfile.currentCape)) {
|
||||
s.setCapeId(mcProfile.currentCape);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue