diff options
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h index cccd9f9c..13edce81 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -22,6 +22,7 @@ #include "logic/BaseInstance.h" #include "logic/auth/MojangAccount.h" #include "logic/net/NetJob.h" +#include "logic/updater/GoUpdate.h" class NewsChecker; class NotificationChecker; @@ -157,7 +158,7 @@ slots: void startTask(Task *task); - void updateAvailable(QString repo, QString versionName, int versionId); + void updateAvailable(GoUpdate::Status status); void updateNotAvailable(); @@ -172,9 +173,9 @@ slots: void updateNewsLabel(); /*! - * Runs the DownloadUpdateTask and installs updates. + * Runs the DownloadTask and installs updates. */ - void downloadUpdates(QString repo, int versionId, bool installOnExit = false); + void downloadUpdates(GoUpdate::Status status, bool installOnExit = false); protected: bool eventFilter(QObject *obj, QEvent *ev); |