summaryrefslogtreecommitdiffstats
path: root/application/pages
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-09-28 22:43:57 +0200
committerPetr Mrázek <peterix@gmail.com>2015-09-28 22:43:57 +0200
commitccb5fc6f4ab09fac602f268f36d077a42aaef1bd (patch)
treedc2eaccd696612d4d4e235903440d2d91defe099 /application/pages
parent1cbe543b3985c5e5b0a7a65390e0e8ea9afafade (diff)
downloadMultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar
MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar.gz
MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar.lz
MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.tar.xz
MultiMC-ccb5fc6f4ab09fac602f268f36d077a42aaef1bd.zip
GH-1072 use crafatar for grabbing the user skin
Diffstat (limited to 'application/pages')
-rw-r--r--application/pages/global/AccountListPage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/pages/global/AccountListPage.cpp b/application/pages/global/AccountListPage.cpp
index 7ca7e414..62267f13 100644
--- a/application/pages/global/AccountListPage.cpp
+++ b/application/pages/global/AccountListPage.cpp
@@ -129,9 +129,9 @@ void AccountListPage::addAccount(const QString &errMsg)
for (AccountProfile profile : account->profiles())
{
- auto meta = Env::getInstance().metacache()->resolveEntry("skins", profile.name + ".png");
+ auto meta = Env::getInstance().metacache()->resolveEntry("skins", profile.id + ".png");
auto action = CacheDownload::make(
- QUrl("http://" + URLConstants::SKINS_BASE + profile.name + ".png"), meta);
+ QUrl("https://" + URLConstants::SKINS_BASE + profile.id + ".png"), meta);
job->addNetAction(action);
meta->stale = true;
}