diff --git a/src/qt/optionsdialog.cpp b/src/qt/optionsdialog.cpp index 38fdb78930..277e5a273c 100644 --- a/src/qt/optionsdialog.cpp +++ b/src/qt/optionsdialog.cpp @@ -183,7 +183,7 @@ void OptionsDialog::setSaveButtonState(bool fState) ui->okButton->setEnabled(fState); } -void OptionsDialog::on_resetButton_clicked() +/*void OptionsDialog::on_resetButton_clicked() { if(model) { @@ -197,18 +197,18 @@ void OptionsDialog::on_resetButton_clicked() disableApplyButton(); - /* disable restart warning messages display */ + // disable restart warning messages display fRestartWarningDisplayed_Lang = fRestartWarningDisplayed_Proxy = true; - /* reset all options and save the default values (QSettings) */ + // reset all options and save the default values (QSettings) model->Reset(); mapper->toFirst(); mapper->submit(); - /* re-enable restart warning messages display */ + // re-enable restart warning messages display fRestartWarningDisplayed_Lang = fRestartWarningDisplayed_Proxy = false; } -} +}*/ void OptionsDialog::on_okButton_clicked() { diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h index d64ed0b57f..1c278030f5 100644 --- a/src/qt/optionsdialog.h +++ b/src/qt/optionsdialog.h @@ -36,7 +36,7 @@ private slots: void disableSaveButtons(); /* set apply button and OK button state (enabled / disabled) */ void setSaveButtonState(bool fState); - void on_resetButton_clicked(); +// void on_resetButton_clicked(); void on_okButton_clicked(); void on_cancelButton_clicked(); void on_applyButton_clicked();