Skip to content

Commit f886a20

Browse files
committed
qt, wallet: Drop unused parameter in Wallet{Frame|View}::encryptWallet
1 parent 6e95011 commit f886a20

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/qt/walletframe.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,11 @@ void WalletFrame::gotoLoadPSBT(bool from_clipboard)
194194
}
195195
}
196196

197-
void WalletFrame::encryptWallet(bool status)
197+
void WalletFrame::encryptWallet()
198198
{
199199
WalletView *walletView = currentWalletView();
200200
if (walletView)
201-
walletView->encryptWallet(status);
201+
walletView->encryptWallet();
202202
}
203203

204204
void WalletFrame::backupWallet()

src/qt/walletframe.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public Q_SLOTS:
8282
void gotoLoadPSBT(bool from_clipboard = false);
8383

8484
/** Encrypt the wallet */
85-
void encryptWallet(bool status);
85+
void encryptWallet();
8686
/** Backup the wallet */
8787
void backupWallet();
8888
/** Change encrypted wallet passphrase */

src/qt/walletview.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ void WalletView::updateEncryptionStatus()
258258
Q_EMIT encryptionStatusChanged();
259259
}
260260

261-
void WalletView::encryptWallet(bool status)
261+
void WalletView::encryptWallet()
262262
{
263263
if(!walletModel)
264264
return;

src/qt/walletview.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public Q_SLOTS:
9292
*/
9393
void processNewTransaction(const QModelIndex& parent, int start, int /*end*/);
9494
/** Encrypt the wallet */
95-
void encryptWallet(bool status);
95+
void encryptWallet();
9696
/** Backup the wallet */
9797
void backupWallet();
9898
/** Change encrypted wallet passphrase */

0 commit comments

Comments
 (0)