From d7c2c9594897c39df6739b92610dfb5a7a1cb3ec Mon Sep 17 00:00:00 2001 From: Russell Yanofsky Date: Mon, 17 Apr 2017 15:44:10 -0400 Subject: Remove direct bitcoin calls from qt/intro.cpp --- src/qt/intro.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/qt/intro.h') diff --git a/src/qt/intro.h b/src/qt/intro.h index 5b428b379c..07d2025bb6 100644 --- a/src/qt/intro.h +++ b/src/qt/intro.h @@ -13,6 +13,10 @@ static const bool DEFAULT_CHOOSE_DATADIR = false; class FreespaceChecker; +namespace interface { + class Node; +} + namespace Ui { class Intro; } @@ -41,7 +45,7 @@ public: * @note do NOT call global GetDataDir() before calling this function, this * will cause the wrong path to be cached. */ - static bool pickDataDirectory(); + static bool pickDataDirectory(interface::Node& node); /** * Determine default data directory for operating system. -- cgit v1.2.3