From 0ee8f90d40f5b3ddb177286c9066a4e59748c681 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 15 Dec 2013 14:48:58 -0600 Subject: Added a system to load news from MultiMC.org's RSS Currently it doesn't show it anywhere in the UI. That's next. --- gui/MainWindow.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gui') diff --git a/gui/MainWindow.cpp b/gui/MainWindow.cpp index f6ef6bad..748728d6 100644 --- a/gui/MainWindow.cpp +++ b/gui/MainWindow.cpp @@ -76,6 +76,8 @@ #include "logic/updater/DownloadUpdateTask.h" +#include "logic/news/NewsChecker.h" + #include "logic/net/URLConstants.h" #include "logic/BaseInstance.h" @@ -243,6 +245,8 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi MMC->lwjgllist()->loadList(); } + MMC->newsChecker()->reloadNews(); + // set up the updater object. auto updater = MMC->updateChecker(); QObject::connect(updater.get(), &UpdateChecker::updateAvailable, this, &MainWindow::updateAvailable); -- cgit v1.2.3