mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
[gui] add explicit prune setter
This makes it possible to enable pruning after the OptionsModel has been initialized and reset.
This commit is contained in:
@@ -77,6 +77,9 @@ public:
|
||||
bool getCoinControlFeatures() const { return fCoinControlFeatures; }
|
||||
const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; }
|
||||
|
||||
/* Explicit setters */
|
||||
void SetPrune(bool prune, bool force = false);
|
||||
|
||||
/* Restart flag helper */
|
||||
void setRestartRequired(bool fRequired);
|
||||
bool isRestartRequired() const;
|
||||
|
||||
Reference in New Issue
Block a user