mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 23:18:14 +01:00
Remove direct bitcoin calls from qt/intro.cpp
This commit is contained in:
committed by
John Newbery
parent
fe6f27e6ea
commit
d7c2c95948
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user