qt, wallet: Drop unused parameter in Wallet{Frame|View}::encryptWallet

This commit is contained in:
Hennadii Stepanov committed 2020-10-23 20:09:55 +03:00
1 parent 6e950118a3
commit f886a20b02
4 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -194,11 +194,11 @@ void WalletFrame::gotoLoadPSBT(bool from_clipboard)
}
}
void WalletFrame::encryptWallet(bool status)
void WalletFrame::encryptWallet()
{
WalletView *walletView = currentWalletView();
if (walletView)
walletView->encryptWallet(status);
walletView->encryptWallet();
}
void WalletFrame::backupWallet()
+1 -1
View File
@@ -82,7 +82,7 @@ public Q_SLOTS:
void gotoLoadPSBT(bool from_clipboard = false);
/** Encrypt the wallet */
void encryptWallet(bool status);
void encryptWallet();
/** Backup the wallet */
void backupWallet();
/** Change encrypted wallet passphrase */
+1 -1
View File
@@ -258,7 +258,7 @@ void WalletView::updateEncryptionStatus()
Q_EMIT encryptionStatusChanged();
}
void WalletView::encryptWallet(bool status)
void WalletView::encryptWallet()
{
if(!walletModel)
return;
+1 -1
View File
@@ -92,7 +92,7 @@ public Q_SLOTS:
*/
void processNewTransaction(const QModelIndex& parent, int start, int /*end*/);
/** Encrypt the wallet */
void encryptWallet(bool status);
void encryptWallet();
/** Backup the wallet */
void backupWallet();
/** Change encrypted wallet passphrase */