From 1957103786f97135f35ababc97efa1b481865eb0 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Sat, 24 Aug 2019 22:31:14 +0200 Subject: [gui] add explicit prune setter This makes it possible to enable pruning after the OptionsModel has been initialized and reset. --- src/qt/optionsmodel.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qt/optionsmodel.h') diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h index 1af3a72b92..b1231b7c7d 100644 --- a/src/qt/optionsmodel.h +++ b/src/qt/optionsmodel.h @@ -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; -- cgit v1.2.3