Skip to content

Commit 2fe69ef

Browse files
committed
qt, wallet: Drop no longer used WalletController::getOpenWallets()
1 parent f6991cb commit 2fe69ef

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

src/qt/walletcontroller.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ WalletController::~WalletController()
5757
delete m_activity_worker;
5858
}
5959

60-
std::vector<WalletModel*> WalletController::getOpenWallets() const
61-
{
62-
QMutexLocker locker(&m_mutex);
63-
return m_wallets;
64-
}
65-
6660
std::map<std::string, bool> WalletController::listWalletDir() const
6761
{
6862
QMutexLocker locker(&m_mutex);

src/qt/walletcontroller.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,6 @@ class WalletController : public QObject
5252
WalletController(ClientModel& client_model, const PlatformStyle* platform_style, QObject* parent);
5353
~WalletController();
5454

55-
//! Returns wallet models currently open.
56-
std::vector<WalletModel*> getOpenWallets() const;
57-
5855
WalletModel* getOrCreateWallet(std::unique_ptr<interfaces::Wallet> wallet);
5956

6057
//! Returns all wallet names in the wallet dir mapped to whether the wallet

0 commit comments

Comments
 (0)