aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2019-08-24 22:34:59 +0200
committerSjors Provoost <sjors@sprovoost.nl>2019-08-24 22:39:47 +0200
commit1bbc49d2078ee53488e214d00eb47462687b05c5 (patch)
treeb871a8813df5495f9aac952e2722619ab64fce99 /src/qt/bitcoin.cpp
parent1957103786f97135f35ababc97efa1b481865eb0 (diff)
downloadbitcoin-1bbc49d2078ee53488e214d00eb47462687b05c5.tar.xz
[gui] intro: inform caller if intro was shown
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index f2e62040ae..2592efc491 100644
--- a/src/qt/bitcoin.cpp
+++ b/src/qt/bitcoin.cpp
@@ -491,8 +491,9 @@ int GuiMain(int argc, char* argv[])
/// 5. Now that settings and translations are available, ask user for data directory
// User language is set up: pick a data directory
- if (!Intro::pickDataDirectory(*node))
- return EXIT_SUCCESS;
+ bool did_show_intro = false;
+ // Gracefully exit if the user cancels
+ if (!Intro::showIfNeeded(*node, did_show_intro)) return EXIT_SUCCESS;
/// 6. Determine availability of data directory and parse bitcoin.conf
/// - Do not call GetDataDir(true) before this step finishes