qt, wallet: Drop no longer used WalletController::getOpenWallets()

This commit is contained in:
Hennadii Stepanov 2021-09-09 22:07:51 +03:00
parent f6991cb906
commit 2fe69efbc6
No known key found for this signature in database
GPG Key ID: 410108112E7EA81F
2 changed files with 0 additions and 9 deletions

View File

@ -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);

View File

@ -52,9 +52,6 @@ public:
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