aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoingui.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/bitcoingui.cpp
parent7d0a8f4f530885cbf3870291f10f667326373bd1 (diff)
refactor: Simplify connection syntax
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r--src/qt/bitcoingui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp
index eb68074301..6043e93f92 100644
--- a/src/qt/bitcoingui.cpp
+++ b/src/qt/bitcoingui.cpp
@@ -564,9 +564,7 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel)
connect(_clientModel, &ClientModel::numBlocksChanged, this, &BitcoinGUI::setNumBlocks);
// Receive and report messages from client model
- connect(_clientModel, &ClientModel::message, [this](const QString &title, const QString &message, unsigned int style){
- this->message(title, message, style);
- });
+ connect(_clientModel, &ClientModel::message, this, &BitcoinGUI::message);
// Show progress dialog
connect(_clientModel, &ClientModel::showProgress, this, &BitcoinGUI::showProgress);