summaryrefslogtreecommitdiffstats
path: root/gui/dialogs/SettingsDialog.h
diff options
context:
space:
mode:
authorForkk <forkk@forkk.net>2014-01-04 19:46:47 -0600
committerForkk <forkk@forkk.net>2014-01-04 19:46:47 -0600
commitd30962bf00b491f3cc23c505b6597c7618ddcd8c (patch)
treeaf3f06ea65447fb6a51deba68263690a9271ddb1 /gui/dialogs/SettingsDialog.h
parent116a6458b5ba35c87f6a22783d509a1fe8672f24 (diff)
downloadMultiMC-d30962bf00b491f3cc23c505b6597c7618ddcd8c.tar
MultiMC-d30962bf00b491f3cc23c505b6597c7618ddcd8c.tar.gz
MultiMC-d30962bf00b491f3cc23c505b6597c7618ddcd8c.tar.lz
MultiMC-d30962bf00b491f3cc23c505b6597c7618ddcd8c.tar.xz
MultiMC-d30962bf00b491f3cc23c505b6597c7618ddcd8c.zip
Implement changing update channels
Allow the user to select which update channel they would like to download updates from.
Diffstat (limited to 'gui/dialogs/SettingsDialog.h')
-rw-r--r--gui/dialogs/SettingsDialog.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/gui/dialogs/SettingsDialog.h b/gui/dialogs/SettingsDialog.h
index 11fdb696..df67d492 100644
--- a/gui/dialogs/SettingsDialog.h
+++ b/gui/dialogs/SettingsDialog.h
@@ -74,7 +74,25 @@ slots:
void on_javaBrowseBtn_clicked();
void checkFinished(JavaCheckResult result);
+
+ /*!
+ * Updates the list of update channels in the combo box.
+ */
+ void refreshUpdateChannelList();
+
+ /*!
+ * Updates the channel description label.
+ */
+ void refreshUpdateChannelDesc();
+
+ void updateChannelSelectionChanged(int index);
+
private:
Ui::SettingsDialog *ui;
std::shared_ptr<JavaChecker> checker;
+
+ /*!
+ * Stores the currently selected update channel.
+ */
+ QString m_currentUpdateChannel;
};