mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
gui: Sort wallets in open wallet menu
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
#include <qt/walletmodel.h>
|
||||
#include <sync.h>
|
||||
|
||||
#include <list>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@@ -41,7 +41,10 @@ public:
|
||||
~WalletController();
|
||||
|
||||
std::vector<WalletModel*> getWallets() const;
|
||||
std::vector<std::string> getWalletsAvailableToOpen() const;
|
||||
|
||||
//! Returns all wallet names in the wallet dir mapped to whether the wallet
|
||||
//! is loaded.
|
||||
std::map<std::string, bool> listWalletDir() const;
|
||||
|
||||
OpenWalletActivity* openWallet(const std::string& name, QWidget* parent = nullptr);
|
||||
void closeWallet(WalletModel* wallet_model, QWidget* parent = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user