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 /logic/OneSixLibrary.h | |
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 'logic/OneSixLibrary.h')
-rw-r--r-- | logic/OneSixLibrary.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logic/OneSixLibrary.h b/logic/OneSixLibrary.h index f8dc3aef..5cb867c2 100644 --- a/logic/OneSixLibrary.h +++ b/logic/OneSixLibrary.h @@ -21,6 +21,7 @@ #include <QJsonObject> #include <memory> +#include "logic/net/URLConstants.h" #include "OpSys.h" class Rule; @@ -30,7 +31,7 @@ class OneSixLibrary private: // basic values used internally (so far) QString m_name; - QString m_base_url = "https://libraries.minecraft.net/"; + QString m_base_url = "https://" + URLConstants::LIBRARY_BASE; QList<std::shared_ptr<Rule>> m_rules; // custom values |