added "beta update" settings

This commit is contained in:
fourtf
2019-09-02 10:52:01 +02:00
parent b1ed458c31
commit 42581598e1
4 changed files with 19 additions and 2 deletions
+4
View File
@@ -24,6 +24,7 @@
#include "singletons/Settings.hpp"
#include "singletons/Theme.hpp"
#include "singletons/Toasts.hpp"
#include "singletons/Updates.hpp"
#include "singletons/WindowManager.hpp"
#include "util/IsBigEndian.hpp"
#include "util/PostToThread.hpp"
@@ -99,6 +100,9 @@ int Application::run(QApplication &qtApp)
this->windows->getMainWindow().show();
getSettings()->betaUpdates.connect(
[] { Updates::getInstance().checkForUpdates(); }, false);
return qtApp.exec();
}