improve skin preview

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97
2025-01-15 17:59:24 +02:00
parent 1b98c69948
commit dbeb987978
5 changed files with 70 additions and 108 deletions

View File

@ -43,9 +43,8 @@ class SkinModel {
bool rename(QString newName);
void setCapeId(QString capeID) { m_capeId = capeID; }
void setModel(Model model) { m_model = model; }
void setModel(Model model);
void setURL(QString url) { m_url = url; }
void setPreview(const QImage& preview) { m_preview = preview; }
void refresh();
QJsonObject toJSON() const;