diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-09 22:07:51 +0300 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-09-09 22:17:37 +0300 |
commit | 2fe69efbc607fdcc3657637d59a38cc5b4db2d05 (patch) | |
tree | 406cff6c6d185f8781441225e0203bf7a6dbfadd | |
parent | f6991cb906e9dad7ff76a51e2b654f798d5c2ba6 (diff) |
qt, wallet: Drop no longer used WalletController::getOpenWallets()
-rw-r--r-- | src/qt/walletcontroller.cpp | 6 | ||||
-rw-r--r-- | src/qt/walletcontroller.h | 3 |
2 files changed, 0 insertions, 9 deletions
diff --git a/src/qt/walletcontroller.cpp b/src/qt/walletcontroller.cpp index 51e63b13b3..4c74bcd480 100644 --- a/src/qt/walletcontroller.cpp +++ b/src/qt/walletcontroller.cpp @@ -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); diff --git a/src/qt/walletcontroller.h b/src/qt/walletcontroller.h index 772f2b51c0..f97a7a1e84 100644 --- a/src/qt/walletcontroller.h +++ b/src/qt/walletcontroller.h @@ -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 |