diff options
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r-- | MultiMC.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp index 93524af7..4e06f558 100644 --- a/MultiMC.cpp +++ b/MultiMC.cpp @@ -18,6 +18,8 @@ #include "logic/lists/MinecraftVersionList.h" #include "logic/lists/ForgeVersionList.h" +#include "logic/news/NewsChecker.h" + #include "logic/InstanceLauncher.h" #include "logic/net/HttpMetaCache.h" @@ -162,6 +164,9 @@ MultiMC::MultiMC(int &argc, char **argv, const QString &root) // initialize the updater m_updateChecker.reset(new UpdateChecker()); + // initialize the news checker + m_newsChecker.reset(new NewsChecker(NEWS_RSS_URL)); + // and instances auto InstDirSetting = m_settings->getSetting("InstanceDir"); m_instances.reset(new InstanceList(InstDirSetting->get().toString(), this)); |