aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2019-11-12 12:09:10 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-01-08 00:12:32 +0200
commit68c9bbe9bc91f882404556998666b1b5acea60e4 (patch)
tree429b2ae01af8f97b3e998e6bc2d14bcbd9667f40 /src/qt/optionsmodel.h
parenta82bd8fa5708c16d1db3edc4e82d70788eb5af19 (diff)
downloadbitcoin-68c9bbe9bc91f882404556998666b1b5acea60e4.tar.xz
qt: Force set nPruneSize in QSettings after intro
If QSettings is set already, it is required to force set nPruneSize after the intro dialog.
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r--src/qt/optionsmodel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h
index 5791b47f28..5089a40509 100644
--- a/src/qt/optionsmodel.h
+++ b/src/qt/optionsmodel.h
@@ -73,7 +73,8 @@ public:
const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; }
/* Explicit setters */
- void SetPrune(bool prune, bool force = false);
+ void SetPruneEnabled(bool prune, bool force = false);
+ void SetPruneTargetGB(int prune_target_gb, bool force = false);
/* Restart flag helper */
void setRestartRequired(bool fRequired);