mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 06:03:54 +01:00
refactor: Simplify connection syntax
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user