mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-04 13:55:23 -05:00
qt, wallet: Drop unused parameter in Wallet{Frame|View}::encryptWallet
This commit is contained in:
parent
6e950118a3
commit
f886a20b02
4 changed files with 5 additions and 5 deletions
|
@ -194,11 +194,11 @@ void WalletFrame::gotoLoadPSBT(bool from_clipboard)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void WalletFrame::encryptWallet(bool status)
|
void WalletFrame::encryptWallet()
|
||||||
{
|
{
|
||||||
WalletView *walletView = currentWalletView();
|
WalletView *walletView = currentWalletView();
|
||||||
if (walletView)
|
if (walletView)
|
||||||
walletView->encryptWallet(status);
|
walletView->encryptWallet();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WalletFrame::backupWallet()
|
void WalletFrame::backupWallet()
|
||||||
|
|
|
@ -82,7 +82,7 @@ public Q_SLOTS:
|
||||||
void gotoLoadPSBT(bool from_clipboard = false);
|
void gotoLoadPSBT(bool from_clipboard = false);
|
||||||
|
|
||||||
/** Encrypt the wallet */
|
/** Encrypt the wallet */
|
||||||
void encryptWallet(bool status);
|
void encryptWallet();
|
||||||
/** Backup the wallet */
|
/** Backup the wallet */
|
||||||
void backupWallet();
|
void backupWallet();
|
||||||
/** Change encrypted wallet passphrase */
|
/** Change encrypted wallet passphrase */
|
||||||
|
|
|
@ -258,7 +258,7 @@ void WalletView::updateEncryptionStatus()
|
||||||
Q_EMIT encryptionStatusChanged();
|
Q_EMIT encryptionStatusChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void WalletView::encryptWallet(bool status)
|
void WalletView::encryptWallet()
|
||||||
{
|
{
|
||||||
if(!walletModel)
|
if(!walletModel)
|
||||||
return;
|
return;
|
||||||
|
|
|
@ -92,7 +92,7 @@ public Q_SLOTS:
|
||||||
*/
|
*/
|
||||||
void processNewTransaction(const QModelIndex& parent, int start, int /*end*/);
|
void processNewTransaction(const QModelIndex& parent, int start, int /*end*/);
|
||||||
/** Encrypt the wallet */
|
/** Encrypt the wallet */
|
||||||
void encryptWallet(bool status);
|
void encryptWallet();
|
||||||
/** Backup the wallet */
|
/** Backup the wallet */
|
||||||
void backupWallet();
|
void backupWallet();
|
||||||
/** Change encrypted wallet passphrase */
|
/** Change encrypted wallet passphrase */
|
||||||
|
|
Loading…
Add table
Reference in a new issue