diff options
| author | Russell Yanofsky <[email protected]> | 2017-04-18 16:42:30 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2018-04-04 16:52:40 -0400 |
| commit | 58845587e11140e81f087a74c3db76a4d1fc3a1a (patch) | |
| tree | 9a150957bd523137b38de0909e8ae1ab5e7b9984 /src/qt/bitcoin.cpp | |
| parent | Remove direct bitcoin calls from qt/paymentserver.cpp (diff) | |
| download | discoin-58845587e11140e81f087a74c3db76a4d1fc3a1a.tar.xz discoin-58845587e11140e81f087a74c3db76a4d1fc3a1a.zip | |
Remove direct bitcoin calls from qt transaction table files
Diffstat (limited to 'src/qt/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index a60f361dd..54e7404b5 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -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) { |