From 5fb445b49e80812f004f00d5adf8fdd39bec557f Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 18 Aug 2012 15:54:39 +0200 Subject: Bitcoin-Qt: add a Reset button to the options dialog - a click on "Reset Options" sets all options to the default values by removing all stored settings (QSettings), loading the defaults and saving them as the new settings - before the reset is executed the user is presented a confirmation dialog - special casing was needed for StartAtStartup --- src/qt/optionsdialog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qt/optionsdialog.h') diff --git a/src/qt/optionsdialog.h b/src/qt/optionsdialog.h index 18469f509d..d64ed0b57f 100644 --- a/src/qt/optionsdialog.h +++ b/src/qt/optionsdialog.h @@ -36,6 +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_okButton_clicked(); void on_cancelButton_clicked(); void on_applyButton_clicked(); -- cgit v1.2.3