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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/application/pages/global/AccountListPage.cpp b/application/pages/global/AccountListPage.cpp
index eb3ddff9..f4aa58b0 100644
--- a/application/pages/global/AccountListPage.cpp
+++ b/application/pages/global/AccountListPage.cpp
@@ -131,8 +131,7 @@ void AccountListPage::addAccount(const QString &errMsg)
for (AccountProfile profile : account->profiles())
{
auto meta = Env::getInstance().metacache()->resolveEntry("skins", profile.id + ".png");
- auto action = CacheDownload::make(
- QUrl("https://" + URLConstants::SKINS_BASE + profile.id + ".png"), meta);
+ auto action = Net::Download::makeCached(QUrl("https://" + URLConstants::SKINS_BASE + profile.id + ".png"), meta);
job->addNetAction(action);
meta->setStale(true);
}