| 90 | } |
| 91 | |
| 92 | bool WalletFrame::removeWallet(const QString& name) |
| 93 | { |
| 94 | if (mapWalletViews.count(name) == 0) |
| 95 | return false; |
| 96 | |
| 97 | WalletView* walletView = mapWalletViews.take(name); |
| 98 | walletStack->removeWidget(walletView); |
| 99 | delete walletView; |
| 100 | return true; |
| 101 | } |
| 102 | |
| 103 | void WalletFrame::removeAllWallets() |
| 104 | { |