diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-13 16:27:42 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-13 16:27:42 +0100 |
commit | ae98388b2289a56d76d0fd4708e22842f88695c4 (patch) | |
tree | 0d7408c6daa3f06292ce1a7849d785142eed1cab /src/qt/optionsmodel.h | |
parent | d2e987aa19295e5da40b843aad7970f781a96ccd (diff) |
[Qt] add startup option to reset Qt settings
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; |