diff options
author | Sky <git@bunnies.cc> | 2013-12-13 14:58:11 +0000 |
---|---|---|
committer | Sky <git@bunnies.cc> | 2013-12-13 14:58:11 +0000 |
commit | 979946b7bb2cec808198f9194169ea08cce8bb00 (patch) | |
tree | 76db4173a0f896b7accfcdf8bb8a7dd143525922 /gui/MainWindow.cpp | |
parent | 808ca763632090abdab5a2451c95dbb0f4319126 (diff) | |
download | MultiMC-979946b7bb2cec808198f9194169ea08cce8bb00.tar MultiMC-979946b7bb2cec808198f9194169ea08cce8bb00.tar.gz MultiMC-979946b7bb2cec808198f9194169ea08cce8bb00.tar.lz MultiMC-979946b7bb2cec808198f9194169ea08cce8bb00.tar.xz MultiMC-979946b7bb2cec808198f9194169ea08cce8bb00.zip |
First sweep moving URLs to a constants file
Diffstat (limited to 'gui/MainWindow.cpp')
-rw-r--r-- | gui/MainWindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index 80bde381..f6ef6bad 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -76,6 +76,8 @@ #include "logic/updater/DownloadUpdateTask.h" +#include "logic/net/URLConstants.h" + #include "logic/BaseInstance.h" #include "logic/InstanceFactory.h" #include "logic/MinecraftProcess.h" @@ -217,7 +219,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://skins.minecraft.net/MinecraftSkins/" + profile.name + ".png"), + QUrl("http://" + URLConstants::SKINS_BASE + profile.name + ".png"), meta); job->addNetAction(action); meta->stale = true; |