diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-01-19 09:37:34 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-01-19 09:37:34 +0200 |
commit | 219417b388a0373f9eb71446e1b0499ab55dd3e2 (patch) | |
tree | 572908907237bfdac2bb022f669b84a48a81cb03 /src/qt/walletview.cpp | |
parent | a654626f076a72416a3d354218d7107571d6caaf (diff) |
Revert "refactor: Simplify connection syntax"
This reverts commit 1a53b0da60097cd7fd423c519f01ceca0fd0aa14.
Diffstat (limited to 'src/qt/walletview.cpp')
-rw-r--r-- | src/qt/walletview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/walletview.cpp b/src/qt/walletview.cpp index d0a4a622a9..c777d633be 100644 --- a/src/qt/walletview.cpp +++ b/src/qt/walletview.cpp @@ -97,7 +97,9 @@ void WalletView::setBitcoinGUI(BitcoinGUI *gui) connect(sendCoinsPage, &SendCoinsDialog::coinsSent, gui, &BitcoinGUI::gotoHistoryPage); // Receive and report messages - connect(this, &WalletView::message, gui, &BitcoinGUI::message); + connect(this, &WalletView::message, [gui](const QString &title, const QString &message, unsigned int style) { + gui->message(title, message, style); + }); // Pass through encryption status changed signals connect(this, &WalletView::encryptionStatusChanged, gui, &BitcoinGUI::updateWalletStatus); |