mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-17 09:47:36 +00:00
Settings: temporarily remove warn on update checkbox
Update checking will be back after the alpha
This commit is contained in:
parent
841739cee9
commit
70dd25c477
3 changed files with 2 additions and 17 deletions
|
@ -20,7 +20,6 @@ Settings::Settings(QWidget *parent) :
|
||||||
ui->tabWidget->setTabVisible(4, false);
|
ui->tabWidget->setTabVisible(4, false);
|
||||||
|
|
||||||
connect(ui->btnCopyToClipboard, &QPushButton::clicked, this, &Settings::copyToClipboard);
|
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_externalLink, &QCheckBox::clicked, this, &Settings::checkboxExternalLinkWarn);
|
||||||
connect(ui->checkBox_hideBalance, &QCheckBox::toggled, [this](bool toggled){
|
connect(ui->checkBox_hideBalance, &QCheckBox::toggled, [this](bool toggled){
|
||||||
config()->set(Config::hideBalance, toggled);
|
config()->set(Config::hideBalance, toggled);
|
||||||
|
@ -36,7 +35,6 @@ Settings::Settings(QWidget *parent) :
|
||||||
|
|
||||||
// setup checkboxes
|
// setup checkboxes
|
||||||
ui->checkBox_externalLink->setChecked(config()->get(Config::warnOnExternalLink).toBool());
|
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());
|
ui->checkBox_hideBalance->setChecked(config()->get(Config::hideBalance).toBool());
|
||||||
|
|
||||||
// setup comboboxes
|
// setup comboboxes
|
||||||
|
@ -81,11 +79,6 @@ void Settings::fiatCurrencySelected(int index) {
|
||||||
emit preferredFiatCurrencyChanged(selection);
|
emit preferredFiatCurrencyChanged(selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Settings::checkboxCheckForAppUpdates() {
|
|
||||||
bool state = ui->checkBox_checkForAppUpdates->isChecked();
|
|
||||||
config()->set(Config::checkForAppUpdates, state);
|
|
||||||
}
|
|
||||||
|
|
||||||
void Settings::comboBox_skinChanged(int pos) {
|
void Settings::comboBox_skinChanged(int pos) {
|
||||||
emit skinChanged(m_skins.at(pos));
|
emit skinChanged(m_skins.at(pos));
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,7 +34,6 @@ signals:
|
||||||
public slots:
|
public slots:
|
||||||
void copyToClipboard();
|
void copyToClipboard();
|
||||||
void checkboxExternalLinkWarn();
|
void checkboxExternalLinkWarn();
|
||||||
void checkboxCheckForAppUpdates();
|
|
||||||
void fiatCurrencySelected(int index);
|
void fiatCurrencySelected(int index);
|
||||||
void comboBox_homeWidgetChanged(int pos);
|
void comboBox_homeWidgetChanged(int pos);
|
||||||
void comboBox_skinChanged(int pos);
|
void comboBox_skinChanged(int pos);
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>1019</width>
|
<width>1019</width>
|
||||||
<height>396</height>
|
<height>358</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
|
@ -183,20 +183,13 @@
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<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">
|
<widget class="QCheckBox" name="checkBox_externalLink">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Warn before opening external link</string>
|
<string>Warn before opening external link</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="0">
|
<item row="5" column="0">
|
||||||
<widget class="QCheckBox" name="checkBox_hideBalance">
|
<widget class="QCheckBox" name="checkBox_hideBalance">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Hide balance</string>
|
<string>Hide balance</string>
|
||||||
|
|
Loading…
Reference in a new issue