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:20 +01:00
parent 841739cee9
commit 70dd25c477
3 changed files with 2 additions and 17 deletions

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));
}

View file

@ -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);

View file

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>1019</width>
<height>396</height>
<height>358</height>
</rect>
</property>
<property name="windowTitle">
@ -183,20 +183,13 @@
</widget>
</item>
<item row="4" column="0">
<widget class="QCheckBox" name="checkBox_checkForAppUpdates">
<property name="text">
<string>Warn on wallet update available</string>
</property>
</widget>
</item>
<item row="5" column="0">
<widget class="QCheckBox" name="checkBox_externalLink">
<property name="text">
<string>Warn before opening external link</string>
</property>
</widget>
</item>
<item row="6" column="0">
<item row="5" column="0">
<widget class="QCheckBox" name="checkBox_hideBalance">
<property name="text">
<string>Hide balance</string>