diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2019-03-29 19:11:43 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2019-03-29 19:34:53 +0100 |
commit | 6dd469a3bea60d8857ec0be625c2ef8a7716c148 (patch) | |
tree | c38d9fb00949b77b0b5775e0147394b51db0547f /src/ui_interface.h | |
parent | 0baf4b1f96635cdf5f26b36753321fe3ea40d4a8 (diff) |
Disconnect BlockNotifyGenesisWait and RPCNotifyBlockChange properly. Remove no-op CClientUIInterface::[signal_name]_disconnect.
Diffstat (limited to 'src/ui_interface.h')
-rw-r--r-- | src/ui_interface.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h index f1aebce3bb..5bcc4331a6 100644 --- a/src/ui_interface.h +++ b/src/ui_interface.h @@ -81,8 +81,7 @@ public: #define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, ...) \ rtype signal_name(__VA_ARGS__); \ using signal_name##Sig = rtype(__VA_ARGS__); \ - boost::signals2::connection signal_name##_connect(std::function<signal_name##Sig> fn); \ - void signal_name##_disconnect(std::function<signal_name##Sig> fn); + boost::signals2::connection signal_name##_connect(std::function<signal_name##Sig> fn); /** Show message box. */ ADD_SIGNALS_DECL_WRAPPER(ThreadSafeMessageBox, bool, const std::string& message, const std::string& caption, unsigned int style); |