bitcoin/bitcoin — pull request #1685 by Diapolo (2012-08-18 14:27:14+00:00)
Title: Bitcoin-Qt: add a Reset button to the options dialog

- a press on Reset sets all options to the default values by removing all
stored settings, loading the defaults and saving them as the new
settings
- special casing was needed for the "start on system login" option
- case DetachDatabases in OptionsModel::data() was changed to not return
the active database setting, but the stored setting or the default of
false (this was needed for Reset to cleanly work with DetachDB)