diff options
| author | Hennadii Stepanov <[email protected]> | 2020-01-16 20:44:21 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-01-16 20:44:21 +0200 |
| commit | 1a53b0da60097cd7fd423c519f01ceca0fd0aa14 (patch) | |
| tree | 486b98865680cafe007e047cdcdc78f19b66ed03 /src/qt/bitcoingui.cpp | |
| parent | refactor: Remove never used default parameter (diff) | |
| download | discoin-1a53b0da60097cd7fd423c519f01ceca0fd0aa14.tar.xz discoin-1a53b0da60097cd7fd423c519f01ceca0fd0aa14.zip | |
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 eb6807430..6043e93f9 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); |