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/bitcoin.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/bitcoin.cpp')
| -rw-r--r-- | src/qt/bitcoin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index 12a620c57..4313d6ee7 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -361,7 +361,9 @@ void BitcoinApplication::initializeResult(bool success) if (paymentServer) { connect(paymentServer, &PaymentServer::receivedPaymentRequest, window, &BitcoinGUI::handlePaymentRequest); connect(window, &BitcoinGUI::receivedURI, paymentServer, &PaymentServer::handleURIOrFile); - connect(paymentServer, &PaymentServer::message, window, &BitcoinGUI::message); + connect(paymentServer, &PaymentServer::message, [this](const QString& title, const QString& message, unsigned int style) { + window->message(title, message, style); + }); QTimer::singleShot(100, paymentServer, &PaymentServer::uiReady); } #endif |