aboutsummaryrefslogtreecommitdiff
path: root/src/ui_interface.cpp
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2019-03-29 19:11:43 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2019-03-29 19:34:53 +0100
commit6dd469a3bea60d8857ec0be625c2ef8a7716c148 (patch)
treec38d9fb00949b77b0b5775e0147394b51db0547f /src/ui_interface.cpp
parent0baf4b1f96635cdf5f26b36753321fe3ea40d4a8 (diff)
Disconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly. Remove no-op CClientUIInterface::[signal_name]_disconnect.
Diffstat (limited to 'src/ui_interface.cpp')
-rw-r--r--src/ui_interface.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ui_interface.cpp b/src/ui_interface.cpp
index 16ab24686b..dc9ab641f4 100644
--- a/src/ui_interface.cpp
+++ b/src/ui_interface.cpp
@@ -28,10 +28,6 @@ struct UISignals {
boost::signals2::connection CClientUIInterface::signal_name##_connect(std::function<signal_name##Sig> fn) \
{ \
return g_ui_signals.signal_name.connect(fn); \
- } \
- void CClientUIInterface::signal_name##_disconnect(std::function<signal_name##Sig> fn) \
- { \
- return g_ui_signals.signal_name.disconnect(&fn); \
}
ADD_SIGNALS_IMPL_WRAPPER(ThreadSafeMessageBox);