aboutsummaryrefslogtreecommitdiff
path: root/src/qt/bitcoin.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-01-19 09:37:34 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2020-01-19 09:37:34 +0200
commit219417b388a0373f9eb71446e1b0499ab55dd3e2 (patch)
tree572908907237bfdac2bb022f669b84a48a81cb03 /src/qt/bitcoin.cpp
parenta654626f076a72416a3d354218d7107571d6caaf (diff)
downloadbitcoin-219417b388a0373f9eb71446e1b0499ab55dd3e2.tar.xz
Revert "refactor: Simplify connection syntax"
This reverts commit 1a53b0da60097cd7fd423c519f01ceca0fd0aa14.
Diffstat (limited to 'src/qt/bitcoin.cpp')
-rw-r--r--src/qt/bitcoin.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp
index 12a620c57a..4313d6ee7f 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