mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-20 04:36:08 +01:00
Remove direct bitcoin calls from qt transaction table files
This commit is contained in:
committed by
John Newbery
parent
3cab2ce5f9
commit
58845587e1
@@ -37,7 +37,6 @@
|
||||
|
||||
#ifdef ENABLE_WALLET
|
||||
#include <wallet/init.h>
|
||||
#include <wallet/wallet.h>
|
||||
#endif
|
||||
#include <walletinitinterface.h>
|
||||
|
||||
@@ -466,9 +465,8 @@ void BitcoinApplication::initializeResult(bool success)
|
||||
#ifdef ENABLE_WALLET
|
||||
bool fFirstWallet = true;
|
||||
auto wallets = m_node.getWallets();
|
||||
auto cwallet = ::vpwallets.begin();
|
||||
for (auto& wallet : wallets) {
|
||||
WalletModel * const walletModel = new WalletModel(std::move(wallet), m_node, platformStyle, *cwallet++, optionsModel);
|
||||
WalletModel * const walletModel = new WalletModel(std::move(wallet), m_node, platformStyle, optionsModel);
|
||||
|
||||
window->addWallet(walletModel);
|
||||
if (fFirstWallet) {
|
||||
|
||||
Reference in New Issue
Block a user