Changeset View
Changeset View
Standalone View
Standalone View
src/qt/bitcoin.cpp
Show First 20 Lines • Show All 463 Lines • ▼ Show 20 Lines | void BitcoinApplication::initializeResult(bool success) { | ||||
// Log this only after AppInit2 finishes, as then logging setup is | // Log this only after AppInit2 finishes, as then logging setup is | ||||
// guaranteed complete. | // guaranteed complete. | ||||
qWarning() << "Platform customization:" << platformStyle->getName(); | qWarning() << "Platform customization:" << platformStyle->getName(); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
PaymentServer::LoadRootCAs(); | PaymentServer::LoadRootCAs(); | ||||
paymentServer->setOptionsModel(optionsModel); | paymentServer->setOptionsModel(optionsModel); | ||||
#endif | #endif | ||||
clientModel = new ClientModel(optionsModel); | clientModel = new ClientModel(m_node, optionsModel); | ||||
window->setClientModel(clientModel); | window->setClientModel(clientModel); | ||||
#ifdef ENABLE_WALLET | #ifdef ENABLE_WALLET | ||||
bool fFirstWallet = true; | bool fFirstWallet = true; | ||||
for (CWalletRef pwallet : vpwallets) { | for (CWalletRef pwallet : vpwallets) { | ||||
WalletModel *const walletModel = | WalletModel *const walletModel = | ||||
new WalletModel(platformStyle, pwallet, optionsModel); | new WalletModel(platformStyle, pwallet, optionsModel); | ||||
▲ Show 20 Lines • Show All 319 Lines • Show Last 20 Lines |