aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsdialog.h
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2012-08-18 15:54:39 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-01-05 13:51:36 +0100
commit5fb445b49e80812f004f00d5adf8fdd39bec557f (patch)
treeef1cf6ec492049daccaa4ce7b31d7f429d99317b /src/qt/optionsdialog.h
parentea9788517bfa3e53e192c5af9e64e73625f9db74 (diff)
downloadbitcoin-5fb445b49e80812f004f00d5adf8fdd39bec557f.tar.xz
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
Diffstat (limited to 'src/qt/optionsdialog.h')
-rw-r--r--src/qt/optionsdialog.h1
1 files changed, 1 insertions, 0 deletions
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();