Settings: temporarily remove warn on update checkbox

Update checking will be back after the alpha
This commit is contained in:
tobtoht
2020-11-25 15:23:23 +01:00
parent 841739cee9
commit 70dd25c477
3 changed files with 2 additions and 17 deletions
-7
View File
@@ -20,7 +20,6 @@ Settings::Settings(QWidget *parent) :
ui->tabWidget->setTabVisible(4, false);
connect(ui->btnCopyToClipboard, &QPushButton::clicked, this, &Settings::copyToClipboard);
connect(ui->checkBox_checkForAppUpdates, &QCheckBox::clicked, this, &Settings::checkboxExternalLinkWarn);
connect(ui->checkBox_externalLink, &QCheckBox::clicked, this, &Settings::checkboxExternalLinkWarn);
connect(ui->checkBox_hideBalance, &QCheckBox::toggled, [this](bool toggled){
config()->set(Config::hideBalance, toggled);
@@ -36,7 +35,6 @@ Settings::Settings(QWidget *parent) :
// setup checkboxes
ui->checkBox_externalLink->setChecked(config()->get(Config::warnOnExternalLink).toBool());
ui->checkBox_checkForAppUpdates->setChecked(config()->get(Config::checkForAppUpdates).toBool());
ui->checkBox_hideBalance->setChecked(config()->get(Config::hideBalance).toBool());
// setup comboboxes
@@ -81,11 +79,6 @@ void Settings::fiatCurrencySelected(int index) {
emit preferredFiatCurrencyChanged(selection);
}
void Settings::checkboxCheckForAppUpdates() {
bool state = ui->checkBox_checkForAppUpdates->isChecked();
config()->set(Config::checkForAppUpdates, state);
}
void Settings::comboBox_skinChanged(int pos) {
emit skinChanged(m_skins.at(pos));
}