Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F10907603
D10738.id31572.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D10738.id31572.diff
View Options
diff --git a/src/qt/walletframe.h b/src/qt/walletframe.h
--- a/src/qt/walletframe.h
+++ b/src/qt/walletframe.h
@@ -87,7 +87,7 @@
void gotoLoadPSBT();
/** Encrypt the wallet */
- void encryptWallet(bool status);
+ void encryptWallet();
/** Backup the wallet */
void backupWallet();
/** Change encrypted wallet passphrase */
diff --git a/src/qt/walletframe.cpp b/src/qt/walletframe.cpp
--- a/src/qt/walletframe.cpp
+++ b/src/qt/walletframe.cpp
@@ -207,10 +207,10 @@
}
}
-void WalletFrame::encryptWallet(bool status) {
+void WalletFrame::encryptWallet() {
WalletView *walletView = currentWalletView();
if (walletView) {
- walletView->encryptWallet(status);
+ walletView->encryptWallet();
}
}
diff --git a/src/qt/walletview.h b/src/qt/walletview.h
--- a/src/qt/walletview.h
+++ b/src/qt/walletview.h
@@ -98,7 +98,7 @@
*/
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 */
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp
--- a/src/qt/walletview.cpp
+++ b/src/qt/walletview.cpp
@@ -346,7 +346,7 @@
Q_EMIT encryptionStatusChanged();
}
-void WalletView::encryptWallet(bool status) {
+void WalletView::encryptWallet() {
if (!walletModel) {
return;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 08:05 (19 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4584220
Default Alt Text
D10738.id31572.diff (1 KB)
Attached To
D10738: qt, wallet: Drop unused parameter in Wallet{Frame|View}::encryptWallet
Event Timeline
Log In to Comment