aboutsummaryrefslogtreecommitdiff
path: root/src/qt/intro.h
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-08-24 19:13:04 +0200
committerSjors Provoost <sjors@sprovoost.nl>2019-08-24 22:41:32 +0200
commitc8de347a9d6c88fe67d77aba6fcce1b7fd66791c (patch)
treeadaefc5bf862bfa403edafd7f2be2b658db96a75 /src/qt/intro.h
parent1bbc49d2078ee53488e214d00eb47462687b05c5 (diff)
downloadbitcoin-c8de347a9d6c88fe67d77aba6fcce1b7fd66791c.tar.xz
[gui] intro: add prune preference
Adds a checkbox to the introduction screen letting the user enable pruning from the start. Disable checkbox when launched with -prune
Diffstat (limited to 'src/qt/intro.h')
-rw-r--r--src/qt/intro.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qt/intro.h b/src/qt/intro.h
index be8d6e34ad..aca7e71642 100644
--- a/src/qt/intro.h
+++ b/src/qt/intro.h
@@ -39,6 +39,7 @@ public:
/**
* Determine data directory. Let the user choose if the current one doesn't exist.
+ * Let the user configure additional preferences such as pruning.
*
* @returns true if a data directory was selected, false if the user cancelled the selection
* dialog.
@@ -46,7 +47,7 @@ public:
* @note do NOT call global GetDataDir() before calling this function, this
* will cause the wrong path to be cached.
*/
- static bool showIfNeeded(interfaces::Node& node, bool& did_show_intro);
+ static bool showIfNeeded(interfaces::Node& node, bool& did_show_intro, bool& prune);
Q_SIGNALS:
void requestCheck();