Implement changing update channels
Allow the user to select which update channel they would like to download updates from.
This commit is contained in:
parent
116a6458b5
commit
d30962bf00
6 changed files with 125 additions and 32 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue