diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-25 09:04:49 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-25 09:05:19 +0100 |
commit | 26af1ac7cbce11e44c66f3032dfe014eaf311e1c (patch) | |
tree | 68e947520f90f6893ea4aa8c876a1a192e9b3f0d /src/qt/optionsmodel.h | |
parent | b19fe277dd6208b80fea837adf9e64631b07f946 (diff) | |
parent | f71bfefcb0c06c4639a668a325acfd49aa7b3a8c (diff) | |
download | bitcoin-26af1ac7cbce11e44c66f3032dfe014eaf311e1c.tar.xz |
Merge pull request #7006
f71bfef add UI help for -resetguisettings (Jonas Schnelli)
ae98388 [Qt] add startup option to reset Qt settings (Jonas Schnelli)
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r-- | src/qt/optionsmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 8448cad8de..d5bddb1a94 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -24,7 +24,7 @@ class OptionsModel : public QAbstractListModel Q_OBJECT public: - explicit OptionsModel(QObject *parent = 0); + explicit OptionsModel(QObject *parent = 0, bool resetSettings = false); enum OptionID { StartAtStartup, // bool @@ -48,7 +48,7 @@ public: OptionIDRowCount, }; - void Init(); + void Init(bool resetSettings = false); void Reset(); int rowCount(const QModelIndex & parent = QModelIndex()) const; |