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/optionsmodel.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/qt/optionsmodel.h') diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 4f893bb44e..d25d898d9c 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -33,6 +33,7 @@ public: }; void Init(); + void Reset(); /* Migrate settings from wallet.dat after app initialization */ bool Upgrade(); /* returns true if settings upgraded */ -- cgit v1.2.3