Follow redirects for skins

This commit is contained in:
Petr Mrázek 2014-11-10 05:10:23 +01:00
parent 1dd8978f8c
commit 551e101146

View File

@ -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;
}