diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-01-16 20:44:21 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-01-16 20:44:21 +0200 |
commit | 1a53b0da60097cd7fd423c519f01ceca0fd0aa14 (patch) | |
tree | 486b98865680cafe007e047cdcdc78f19b66ed03 /src/qt/bitcoingui.cpp | |
parent | 7d0a8f4f530885cbf3870291f10f667326373bd1 (diff) |
refactor: Simplify connection syntax
Diffstat (limited to 'src/qt/bitcoingui.cpp')
-rw-r--r-- | src/qt/bitcoingui.cpp | 4 |
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); |