aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/qt/walletview.cpp9
-rw-r--r--src/qt/walletview.h3
2 files changed, 2 insertions, 10 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp
index 2326af80b6..725015a447 100644
--- a/src/qt/walletview.cpp
+++ b/src/qt/walletview.cpp
@@ -118,7 +118,7 @@ void WalletView::setWalletModel(WalletModel *_walletModel)
// Handle changes in encryption status
connect(_walletModel, &WalletModel::encryptionStatusChanged, this, &WalletView::encryptionStatusChanged);
- updateEncryptionStatus();
+ Q_EMIT encryptionStatusChanged();
// update HD status
Q_EMIT hdEnabledStatusChanged();
@@ -211,11 +211,6 @@ void WalletView::showOutOfSyncWarning(bool fShow)
overviewPage->showOutOfSyncWarning(fShow);
}
-void WalletView::updateEncryptionStatus()
-{
- Q_EMIT encryptionStatusChanged();
-}
-
void WalletView::encryptWallet()
{
if(!walletModel)
@@ -224,7 +219,7 @@ void WalletView::encryptWallet()
dlg.setModel(walletModel);
dlg.exec();
- updateEncryptionStatus();
+ Q_EMIT encryptionStatusChanged();
}
void WalletView::backupWallet()
diff --git a/src/qt/walletview.h b/src/qt/walletview.h
index 5c42a9ffc0..5d2fac425e 100644
--- a/src/qt/walletview.h
+++ b/src/qt/walletview.h
@@ -103,9 +103,6 @@ public Q_SLOTS:
/** Show used receiving addresses */
void usedReceivingAddresses();
- /** Re-emit encryption status signal */
- void updateEncryptionStatus();
-
/** Show progress dialog e.g. for rescan */
void showProgress(const QString &title, int nProgress);