Skip to content

Commit

Permalink
qt, wallet: Drop no longer used WalletController::getOpenWallets()
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Sep 9, 2021
1 parent f6991cb commit 2fe69ef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
6 changes: 0 additions & 6 deletions src/qt/walletcontroller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ WalletController::~WalletController()
delete m_activity_worker;
}

std::vector<WalletModel*> WalletController::getOpenWallets() const
{
QMutexLocker locker(&m_mutex);
return m_wallets;
}

std::map<std::string, bool> WalletController::listWalletDir() const
{
QMutexLocker locker(&m_mutex);
Expand Down
3 changes: 0 additions & 3 deletions src/qt/walletcontroller.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ class WalletController : public QObject
WalletController(ClientModel& client_model, const PlatformStyle* platform_style, QObject* parent);
~WalletController();

//! Returns wallet models currently open.
std::vector<WalletModel*> getOpenWallets() const;

WalletModel* getOrCreateWallet(std::unique_ptr<interfaces::Wallet> wallet);

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

0 comments on commit 2fe69ef

Please sign in to comment.