diff options
Diffstat (limited to 'logic/LwjglVersionList.cpp')
-rw-r--r-- | logic/LwjglVersionList.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/LwjglVersionList.cpp b/logic/LwjglVersionList.cpp index 41c951e4..77b7a05e 100644 --- a/logic/LwjglVersionList.cpp +++ b/logic/LwjglVersionList.cpp @@ -14,7 +14,7 @@ */ #include "LwjglVersionList.h" -#include "MultiMC.h" +#include "logic/Env.h" #include <QtNetwork> #include <QtXml> @@ -82,7 +82,7 @@ void LWJGLVersionList::loadList() Q_ASSERT_X(!m_loading, "loadList", "list is already loading (m_loading is true)"); setLoading(true); - auto worker = MMC->qnam(); + auto worker = ENV.qnam(); QNetworkRequest req(QUrl(RSS_URL)); req.setRawHeader("Accept", "application/rss+xml, text/xml, */*"); req.setRawHeader("User-Agent", "MultiMC/5.0 (Uncached)"); |