aboutsummaryrefslogtreecommitdiff
path: root/src/qt/rpcconsole.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-24 05:37:56 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-30 00:00:44 +0300
commitcdbc2bd1f1c171848c1fef7f217afe140e1afb06 (patch)
tree7d794804a4d1f3cbb0e61a06d7bf13f7ecf13ab7 /src/qt/rpcconsole.cpp
parente1e1e708fa0fbc0c51460305da5d401ed8f218f3 (diff)
downloadbitcoin-cdbc2bd1f1c171848c1fef7f217afe140e1afb06.tar.xz
qt: Use template function qOverload in signal-slot connections
This commit does not change behavior.
Diffstat (limited to 'src/qt/rpcconsole.cpp')
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 006f60e7a1..10ca86c0e3 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -959,7 +959,7 @@ void RPCConsole::startExecutor()
executor->moveToThread(&thread);
// Replies from executor object must go to this object
- connect(executor, &RPCExecutor::reply, this, static_cast<void (RPCConsole::*)(int, const QString&)>(&RPCConsole::message));
+ connect(executor, &RPCExecutor::reply, this, qOverload<int, const QString&>(&RPCConsole::message));
// Requests from this object must go to executor
connect(this, &RPCConsole::cmdRequest, executor, &RPCExecutor::request);