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 meta = MMC->metacache()->resolveEntry("skins", profile.name + ".png");
|
||||||
auto action = CacheDownload::make(
|
auto action = CacheDownload::make(
|
||||||
QUrl("http://" + URLConstants::SKINS_BASE + profile.name + ".png"), meta);
|
QUrl("http://" + URLConstants::SKINS_BASE + profile.name + ".png"), meta);
|
||||||
|
action->m_followRedirects = true;
|
||||||
skin_dls.append(action);
|
skin_dls.append(action);
|
||||||
meta->stale = true;
|
meta->stale = true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user