diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-07 03:57:40 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-07 03:57:40 +0100 |
commit | 220e07aef4a34dca9f31ae0c5bb994e5c594125d (patch) | |
tree | 70821c6dbe7e6c2f66f231dcb1bad62a763638d7 /gui/MainWindow.h | |
parent | 858916b951e92127c22503826b746d1e70c433f6 (diff) | |
parent | 7a6705030c36b2d6b94da1acd5bdf2311e4efeb7 (diff) | |
download | MultiMC-220e07aef4a34dca9f31ae0c5bb994e5c594125d.tar MultiMC-220e07aef4a34dca9f31ae0c5bb994e5c594125d.tar.gz MultiMC-220e07aef4a34dca9f31ae0c5bb994e5c594125d.tar.lz MultiMC-220e07aef4a34dca9f31ae0c5bb994e5c594125d.tar.xz MultiMC-220e07aef4a34dca9f31ae0c5bb994e5c594125d.zip |
Merge branch 'feature_updater' of github.com:MultiMC/MultiMC5 into feature_updater
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); |