summaryrefslogtreecommitdiffstats
path: root/application/pages/global/AccountListPage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/pages/global/AccountListPage.cpp')
-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;
}