Remove direct bitcoin calls from qt/intro.cpp

This commit is contained in:
Russell Yanofsky
2017-04-17 15:44:10 -04:00
committed by John Newbery
parent fe6f27e6ea
commit d7c2c95948
4 changed files with 14 additions and 8 deletions

View File

@@ -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.