diff options
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); |