summaryrefslogtreecommitdiffstats
path: root/MultiMC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'MultiMC.cpp')
-rw-r--r--MultiMC.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/MultiMC.cpp b/MultiMC.cpp
index bf0d9d99..12c37d2a 100644
--- a/MultiMC.cpp
+++ b/MultiMC.cpp
@@ -17,6 +17,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"
@@ -148,6 +150,9 @@ MultiMC::MultiMC(int &argc, char **argv, const QString &root) : QApplication(arg
// 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));