aboutsummaryrefslogtreecommitdiff
path: root/src/qt/optionsmodel.h
diff options
context:
space:
mode:
authorRyan Ofsky <ryan@ofsky.org>2019-04-29 15:29:00 -0400
committerRyan Ofsky <ryan@ofsky.org>2022-05-26 11:05:10 -0400
commit9a016a3c07d4becf0651ef58c7160180c5f25a0c (patch)
tree2bbfbc3aab833f8355d38c599f79a955d72c845f /src/qt/optionsmodel.h
parentf067e1943361b7bfa78a423528759e9edffa7482 (diff)
downloadbitcoin-9a016a3c07d4becf0651ef58c7160180c5f25a0c.tar.xz
Migrate -prune setting from QSettings to settings.json
Diffstat (limited to 'src/qt/optionsmodel.h')
-rw-r--r--src/qt/optionsmodel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/optionsmodel.h b/src/qt/optionsmodel.h
index ca07a268e8..42b89c5029 100644
--- a/src/qt/optionsmodel.h
+++ b/src/qt/optionsmodel.h
@@ -99,8 +99,7 @@ public:
const QString& getOverriddenByCommandLine() { return strOverriddenByCommandLine; }
/* Explicit setters */
- void SetPruneEnabled(bool prune, bool force = false);
- void SetPruneTargetGB(int prune_target_gb, bool force = false);
+ void SetPruneTargetGB(int prune_target_gb);
/* Restart flag helper */
void setRestartRequired(bool fRequired);
@@ -125,6 +124,7 @@ private:
//! In-memory settings for display. These are stored persistently by the
//! bitcoin node but it's also nice to store them in memory to prevent them
//! getting cleared when enable/disable toggles are used in the GUI.
+ int m_prune_size_gb;
QString m_proxy_ip;
QString m_proxy_port;
QString m_onion_ip;