diff options
author | Andrew <forkk@forkk.net> | 2013-12-06 12:59:58 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-12-06 12:59:58 -0600 |
commit | 6ac94ddcb6f64ffae3948bed778bccc33a92f0fd (patch) | |
tree | 31cb30a051772bb49339514b79acf07ae9661c95 /gui/MainWindow.h | |
parent | e90f1a27569ac6b9e9782646c9de92fc9534b1d2 (diff) | |
download | MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar.gz MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar.lz MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.tar.xz MultiMC-6ac94ddcb6f64ffae3948bed778bccc33a92f0fd.zip |
Finish implementing update installation.
Also add the option to update on exit.
Diffstat (limited to 'gui/MainWindow.h')
-rw-r--r-- | gui/MainWindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/MainWindow.h b/gui/MainWindow.h index 1f498eca..b99c54ee 100644 --- a/gui/MainWindow.h +++ b/gui/MainWindow.h @@ -168,6 +168,11 @@ slots: void changeActiveAccount(); void repopulateAccountsMenu(); + + /*! + * Runs the DownloadUpdateTask and installs updates. + */ + void downloadUpdates(QString repo, int versionId, bool installOnExit=false); protected: bool eventFilter(QObject *obj, QEvent *ev); |