diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-01-25 10:32:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 10:32:49 +0100 |
commit | 0546345182c04cf90e3096ff9e38b002759de32c (patch) | |
tree | e97ca1085fa31e8e9cfacff167c9c9cd5964ddea /launcher/Application.h | |
parent | e4e8a51e5ccec11f844099be6754958fe0502a53 (diff) | |
parent | 6e841a3b7e5f9270b730a10d991433f37678818a (diff) | |
download | PrismLauncher-0546345182c04cf90e3096ff9e38b002759de32c.tar.gz PrismLauncher-0546345182c04cf90e3096ff9e38b002759de32c.tar.bz2 PrismLauncher-0546345182c04cf90e3096ff9e38b002759de32c.zip |
Merge pull request #458 from Scrumplex/remove-updater
Diffstat (limited to 'launcher/Application.h')
-rw-r--r-- | launcher/Application.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/launcher/Application.h b/launcher/Application.h index 2cd077f8..1b3dc499 100644 --- a/launcher/Application.h +++ b/launcher/Application.h @@ -43,7 +43,6 @@ #include <QIcon> #include <QDateTime> #include <QUrl> -#include <updater/GoUpdate.h> #include <BaseInstance.h> @@ -63,7 +62,7 @@ class AccountList; class IconList; class QNetworkAccessManager; class JavaInstallList; -class UpdateChecker; +class ExternalUpdater; class BaseProfilerFactory; class BaseDetachedToolFactory; class TranslationsModel; @@ -126,10 +125,12 @@ public: void setApplicationTheme(const QString& name); - shared_qobject_ptr<UpdateChecker> updateChecker() { - return m_updateChecker; + shared_qobject_ptr<ExternalUpdater> updater() { + return m_updater; } + void triggerUpdateCheck(); + std::shared_ptr<TranslationsModel> translations(); std::shared_ptr<JavaInstallList> javalist(); @@ -251,7 +252,7 @@ private: shared_qobject_ptr<QNetworkAccessManager> m_network; - shared_qobject_ptr<UpdateChecker> m_updateChecker; + shared_qobject_ptr<ExternalUpdater> m_updater; shared_qobject_ptr<AccountList> m_accounts; shared_qobject_ptr<HttpMetaCache> m_metacache; @@ -310,4 +311,3 @@ public: QString m_instanceIdToShowWindowOf; std::unique_ptr<QFile> logFile; }; - |