| 239 | } |
| 240 | |
| 241 | void WalletView::unlockWallet() |
| 242 | { |
| 243 | // Unlock wallet when requested by wallet model |
| 244 | if (walletModel->getEncryptionStatus() == WalletModel::Locked) { |
| 245 | AskPassphraseDialog dlg(AskPassphraseDialog::Unlock, this); |
| 246 | dlg.setModel(walletModel); |
| 247 | // A modal dialog must be synchronous here as expected |
| 248 | // in the WalletModel::requestUnlock() function. |
| 249 | dlg.exec(); |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | void WalletView::usedSendingAddresses() |
| 254 | { |
nothing calls this directly
no test coverage detected