mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
[Qt] add startup option to reset Qt settings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user