Page MenuHomePhabricator

D10738.id31572.diff
No OneTemporary

D10738.id31572.diff

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

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)

Event Timeline