GUI: preferences: show "check for updates" checkbox again

It was accidentally set to always be hidden by the CURL code removal.
This commit is contained in:
Moritz Bunkus 2017-01-03 13:27:22 +01:00
parent 7b257da3e0
commit 7176a2bfa3
2 changed files with 1 additions and 8 deletions

View File

@ -39,6 +39,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent)
Util::restoreWidgetGeometry(this);
// GUI page
ui->cbGuiCheckForUpdates->setChecked(m_cfg.m_checkForUpdates);
ui->cbGuiDisableAnimations->setChecked(m_cfg.m_disableAnimations);
ui->cbGuiShowToolSelector->setChecked(m_cfg.m_showToolSelector);
ui->cbGuiWarnBeforeClosingModifiedTabs->setChecked(m_cfg.m_warnBeforeClosingModifiedTabs);
@ -46,7 +47,6 @@ PreferencesDialog::PreferencesDialog(QWidget *parent)
ui->cbGuiWarnBeforeOverwriting->setChecked(m_cfg.m_warnBeforeOverwriting);
ui->cbGuiShowMoveUpDownButtons->setChecked(m_cfg.m_showMoveUpDownButtons);
setupFont();
setupOnlineCheck();
setupInterfaceLanguage();
setupTabPositions();
setupWhenToSetDefaultLanguage();
@ -393,12 +393,6 @@ PreferencesDialog::setupConnections() {
connect(ui->tbOftenUsedCharacterSets, &Util::SideBySideMultiSelect::listsChanged, this, &PreferencesDialog::enableOftendUsedCharacterSetsOnly);
}
void
PreferencesDialog::setupOnlineCheck() {
ui->cbGuiCheckForUpdates->setChecked(m_cfg.m_checkForUpdates);
ui->cbGuiCheckForUpdates->setVisible(false);
}
void
PreferencesDialog::setupInterfaceLanguage() {
#if defined(HAVE_LIBINTL_H)

View File

@ -57,7 +57,6 @@ protected:
void setupInterfaceLanguage();
void setupTabPositions();
void setupWhenToSetDefaultLanguage();
void setupOnlineCheck();
void setupJobRemovalPolicy();
void setupCommonLanguages();
void setupCommonCountries();