mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
Follow redirects for skins
This commit is contained in:
parent
1dd8978f8c
commit
551e101146
@ -286,6 +286,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
|
||||
auto meta = MMC->metacache()->resolveEntry("skins", profile.name + ".png");
|
||||
auto action = CacheDownload::make(
|
||||
QUrl("http://" + URLConstants::SKINS_BASE + profile.name + ".png"), meta);
|
||||
action->m_followRedirects = true;
|
||||
skin_dls.append(action);
|
||||
meta->stale = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user