mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-10-22 07:21:21 +00:00
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:
parent
7b257da3e0
commit
7176a2bfa3
@ -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)
|
||||
|
@ -57,7 +57,6 @@ protected:
|
||||
void setupInterfaceLanguage();
|
||||
void setupTabPositions();
|
||||
void setupWhenToSetDefaultLanguage();
|
||||
void setupOnlineCheck();
|
||||
void setupJobRemovalPolicy();
|
||||
void setupCommonLanguages();
|
||||
void setupCommonCountries();
|
||||
|
Loading…
Reference in New Issue
Block a user