diff options
author | Andrew <forkk@forkk.net> | 2013-12-15 14:48:58 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-12-15 14:50:27 -0600 |
commit | 0ee8f90d40f5b3ddb177286c9066a4e59748c681 (patch) | |
tree | 43bdb631834ec7c1251a944b7b8b17f8a5db201c /gui | |
parent | 1e96a0c8eba2d932e08a33ec909cf8141f1aaa43 (diff) | |
download | MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar.gz MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar.lz MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar.xz MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.zip |
Added a system to load news from MultiMC.org's RSS
Currently it doesn't show it anywhere in the UI. That's next.
Diffstat (limited to 'gui')
-rw-r--r-- | gui/MainWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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); |