diff options
| author | Hennadii Stepanov <[email protected]> | 2020-01-19 09:37:34 +0200 |
|---|---|---|
| committer | Hennadii Stepanov <[email protected]> | 2020-01-19 09:37:34 +0200 |
| commit | 219417b388a0373f9eb71446e1b0499ab55dd3e2 (patch) | |
| tree | 572908907237bfdac2bb022f669b84a48a81cb03 /src/qt/bitcoingui.cpp | |
| parent | Merge #17896: Serialization improvements (step 2) (diff) | |
| download | discoin-219417b388a0373f9eb71446e1b0499ab55dd3e2.tar.xz discoin-219417b388a0373f9eb71446e1b0499ab55dd3e2.zip | |
Revert "refactor: Simplify connection syntax"
This reverts commit 1a53b0da60097cd7fd423c519f01ceca0fd0aa14.
Diffstat (limited to 'src/qt/bitcoingui.cpp')
| -rw-r--r-- | src/qt/bitcoingui.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoingui.cpp b/src/qt/bitcoingui.cpp index 6043e93f9..eb6807430 100644 --- a/src/qt/bitcoingui.cpp +++ b/src/qt/bitcoingui.cpp @@ -564,7 +564,9 @@ void BitcoinGUI::setClientModel(ClientModel *_clientModel) connect(_clientModel, &ClientModel::numBlocksChanged, this, &BitcoinGUI::setNumBlocks); // Receive and report messages from client model - connect(_clientModel, &ClientModel::message, this, &BitcoinGUI::message); + connect(_clientModel, &ClientModel::message, [this](const QString &title, const QString &message, unsigned int style){ + this->message(title, message, style); + }); // Show progress dialog connect(_clientModel, &ClientModel::showProgress, this, &BitcoinGUI::showProgress); |