aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletview.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-01-16 20:44:21 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-01-16 20:44:21 +0200
commit1a53b0da60097cd7fd423c519f01ceca0fd0aa14 (patch)
tree486b98865680cafe007e047cdcdc78f19b66ed03 /src/qt/walletview.cpp
parent7d0a8f4f530885cbf3870291f10f667326373bd1 (diff)
refactor: Simplify connection syntax
Diffstat (limited to 'src/qt/walletview.cpp')
-rw-r--r--src/qt/walletview.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp
index c777d633be..d0a4a622a9 100644
--- a/src/qt/walletview.cpp
+++ b/src/qt/walletview.cpp
@@ -97,9 +97,7 @@ void WalletView::setBitcoinGUI(BitcoinGUI *gui)
connect(sendCoinsPage, &SendCoinsDialog::coinsSent, gui, &BitcoinGUI::gotoHistoryPage);
// Receive and report messages
- connect(this, &WalletView::message, [gui](const QString &title, const QString &message, unsigned int style) {
- gui->message(title, message, style);
- });
+ connect(this, &WalletView::message, gui, &BitcoinGUI::message);
// Pass through encryption status changed signals
connect(this, &WalletView::encryptionStatusChanged, gui, &BitcoinGUI::updateWalletStatus);