summaryrefslogtreecommitdiffstats
path: root/logic/OneSixLibrary.h
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-12-13 14:58:11 +0000
committerSky <git@bunnies.cc>2013-12-13 14:58:11 +0000
commit979946b7bb2cec808198f9194169ea08cce8bb00 (patch)
tree76db4173a0f896b7accfcdf8bb8a7dd143525922 /logic/OneSixLibrary.h
parent808ca763632090abdab5a2451c95dbb0f4319126 (diff)
downloadMultiMC-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.h3
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