diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2019-08-24 22:31:14 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2019-08-24 22:36:11 +0200 |
commit | 1957103786f97135f35ababc97efa1b481865eb0 (patch) | |
tree | 35064141c2a91d0f4c2b63b6282854578ae8357c /src/qt/bitcoin.h | |
parent | 1bccf6a52d7fc08d8f605cfb2edc3277ec299c72 (diff) |
[gui] add explicit prune setter
This makes it possible to enable pruning after the OptionsModel has been initialized and reset.
Diffstat (limited to 'src/qt/bitcoin.h')
-rw-r--r-- | src/qt/bitcoin.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/bitcoin.h b/src/qt/bitcoin.h index 3869193a3a..8c77fd8a7d 100644 --- a/src/qt/bitcoin.h +++ b/src/qt/bitcoin.h @@ -67,6 +67,8 @@ public: void parameterSetup(); /// Create options model void createOptionsModel(bool resetSettings); + /// Update prune value + void SetPrune(bool prune, bool force = false); /// Create main window void createWindow(const NetworkStyle *networkStyle); /// Create splash screen |