From 70dd25c477f82187383970a885add08c0fddfbb5 Mon Sep 17 00:00:00 2001 From: tobtoht Date: Wed, 25 Nov 2020 15:23:20 +0100 Subject: [PATCH] Settings: temporarily remove warn on update checkbox Update checking will be back after the alpha --- src/settings.cpp | 7 ------- src/settings.h | 1 - src/settings.ui | 11 ++--------- 3 files changed, 2 insertions(+), 17 deletions(-) diff --git a/src/settings.cpp b/src/settings.cpp index 4e787fc..018f044 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -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)); } diff --git a/src/settings.h b/src/settings.h index e4ac3f1..14f760b 100644 --- a/src/settings.h +++ b/src/settings.h @@ -34,7 +34,6 @@ signals: public slots: void copyToClipboard(); void checkboxExternalLinkWarn(); - void checkboxCheckForAppUpdates(); void fiatCurrencySelected(int index); void comboBox_homeWidgetChanged(int pos); void comboBox_skinChanged(int pos); diff --git a/src/settings.ui b/src/settings.ui index 8efdc80..1beb169 100644 --- a/src/settings.ui +++ b/src/settings.ui @@ -7,7 +7,7 @@ 0 0 1019 - 396 + 358 @@ -183,20 +183,13 @@ - - - Warn on wallet update available - - - - Warn before opening external link - + Hide balance